I get an error when I add the squeeze = True to the pd.read method.
3 answers ( 0 marked as helpful)
Ivan Manov
Instructor
Hi Donald!
Thanks for reaching out!
Apparently, the squeeze
argument has been deprecated and is probably already removed in the latest Python versions. Instead, you can append .squeeze("columns")
to the call the squeeze:
data.squeeze("columns")
Best,
Ivan
Thanks but now I'm getting this error.
Ivan Manov
Instructor
Hi Donald!
Please try typing "columns" with a small 'c'.
data.squeeze("columns")
Hope this helps.
Best,
Ivan