Alternatively, you can edit the code to use fetch_openml(...,
as_frame=False) to use a numpy array instead of a pandas dataframe for
this example.
--
Olivier
___
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/
hi James,
you need to install pandas
pip install pandas
or
conda install pandas
should fix your pb
Alex
___
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn
Looks like you need to install pandas for this example--`fetch_openl` is
trying to give you back a pandas DataFrame
https://scikit-learn.org/stable/modules/generated/sklearn.datasets.fetch_openml.html#sklearn.datasets.fetch_openml
not sure if you could just run it with as_frame = False
David Nic