Whilst working on this project i have encountered the following error.
TypeError Traceback (most recent call last)
in
1 stock_data_closing_prices = stock_data[‘Adj Close’]
2 stock_data_closing_prices.plot()
----> 3 plt.ylabel(“Adjusted Closing Price”)
4 plt.title(“Tech Stocks Adjusted Price Over Time”)
5 plt.show()
TypeError: ‘str’ object is not callable
and I have no idea why. I have not defined anything else as str as this is the problem I’ve seen generally contribute to this error. Any help would be appreciated thanks.