Apr-22-2020, 07:31 PM
Hi everyone,
Regarding the code below:
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Someone have a solution, please ?
Thanks for help
Regarding the code below:
import pandas as pd csv_path= links["file"] df=pd.read_csv(csv_path) if df.loc["0":"68","music":"music"]>8.5: print (pd.read_csv(csv_path))I have this error message when I run it:
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Someone have a solution, please ?
Thanks for help