I am attempting to run the python file associated with the Data Modeling hands-on lab (https://colab.research.google.com/drive/11NdrGUzFhbwsOlKqXVfYRqu9s1DzAw4b?usp=sharing). I am receiving the same error every time the ‘plot’ function is called:
“TypeError: Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a data type”.
After some debugging, the data seems to be in a dataframe data type. I suspect there is some version discrepancy between numpy and pandas, has anyone else seen this error?
Best answer by Viraj DhanushaView original