dataprep
dataprep copied to clipboard
Test of titanic dataset report: ValueError: The truth value of a Index is ambiguous....
Hi All, I'm a beginner on dataprep and for basics tests I ran this code bellow on a Jupyter Notebook with python 3.8.3 and got the ValueError bellow:
2571 @final
2572 def __nonzero__(self):
-> 2573 raise ValueError(
2574 f"The truth value of a {type(self).__name__} is ambiguous. "
2575 "Use a.empty, a.bool(), a.item(), a.any() or a.all()."```
ValueError: The truth value of a Index is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
The content of my cell is as follow:
rom dataprep.datasets import load_dataset
from dataprep.eda import create_report
df = load_dataset("titanic")
create_report(df).show_browser()
Expected behavior I expected to have a dispay of the report as in the dataprep documentaion
Desktop (please complete the following information):
- OS: [WSDL]
- Browser [chrome]
- Platform [Jupyter Notebook, Jupyter Lab, Google Colab, VSCode, Python script]
- Platform Version [e.g. 1.0]
- Python Version [3.8.3]
- Dataprep Version [0.3.0]