I get an error when I add the squeeze = True to the pd.read method.
4 answers ( 0 marked as helpful)
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.
Hi Donald!
Please try typing "columns" with a small 'c'.
data.squeeze("columns")
Hope this helps.
Best,
Ivan
Above answer worked when i got same error.