I have imported csv into present pgm and I got that csv from other pgm which I included into current pgm.After running it I got the below error:
GoogleData_X = google_data.Date[:, np.newaxis, 2]
AttributeError: 'str' object has no attribute 'Date'
where GoogleData_X
is a variable and google_data
in google_data.date
is csv file which I imported and csv file has the following as attributes:
Date,Open,High,Low,Close,Volume