Last answered:

22 Nov 2022

Posted on:

16 Nov 2022

0

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:image

1 answers ( 0 marked as helpful)
Instructor
Posted on:

22 Nov 2022

1

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

Submit an answer