I am getting an error while executing a python program. The line at which error is occurring is as follows:
This the error I am getting:
TypeError: 'list' object is not callable.
The error says the list is not callable because you are trying to access/use a python list but using parenthesis for it. Parenthesis are used to call a function and because a list is not a function, you get this error. To access/use a python list, you should use square brackets. Try this:
Hey @Suraj, For me its working fine. ...READ MORE
for i in names:
df['ln_returns'] = np.log(df['Close_mid']/df['Close_mid'])
df['Close_mid'](1)) doesn't seem to ...READ MORE
You could try using the AST module. ...READ MORE
if you google it you can find. ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
The right datatype for destination in argpasrse module ...READ MORE
Did you import the module? READ MORE
Already have an account? Sign in.