Error

Course Name: Python for Trading: Basic, Section No: 41, Unit No: 111, Unit type: Video



ERROR -

"None of [Index(['Date', 'close'], dtype='object')] are in the [columns]"

 

Hi Karthik,



Did you mean to exectue : infy_close = infy[['Date','Close Price']] ?

Since Close is not a key, Close Price is.



If not, please share the line of code you are trying to execute.