data-cleaning-preprocessing-pandas/unique-nunique/
When i run the cell of code to read the csv file of location csv, it shows an error related to the squeeze =true argument. here is a screen image:
1 answers ( 0 marked as helpful)
Hi Mahdi!
Thanks for reaching out.
This warning message indicates that the squeeze argument is deprecated and in future versions it will be removed. Instead, you can use the squeeze()
method. The syntax is:
pd.DataFrame.squeeze('column_name')
Hope this helps.
Best,
Tsvetelin