Jan-12-2018, 11:11 AM
Hi all,
I am going through the ML A-Z course on udemy to help me solve an assignment and I am at the stage of preprocessing my data at the moment. My code is as below:
I have already upgraded Spyder to the latest version as well but the problem remains.
Thank you.
I am going through the ML A-Z course on udemy to help me solve an assignment and I am at the stage of preprocessing my data at the moment. My code is as below:
import numpy as np import pandas as pd import matplotlib.pyplot as plt dataset = pd.read_csv('Data.csv') X = dataset.iloc[:,:-1].values y = dataset.iloc[:,3].valuesWhen I run the lines, my variable window can't seem to display the values of the X and y array and instead shows ndarray object of numpy module. When I double click on X or y, an error dialog pops up saying object arrays are currently not supported. What do I need to do to solve this problem? Is it okay to ignore it and continue coding?
I have already upgraded Spyder to the latest version as well but the problem remains.
Thank you.