-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEPR: squeeze() argument in read_csv/read_table #43242
Comments
This is not completly the same, see
First returns a scalar, the second a series. But I think it is worth discussing this nevertheless. |
iirc there is another issue about deprecating squeeze but in any event +1 to do it (i thought we did this long ago) |
We deprecated squeeze in groupby early last year, maybe this? |
I think the equivalent is
|
Good point, thx |
This should also be deprecated in read_excel, and ExcelFile.parse too. |
+1 on deprecating squeeze for read_excel |
I'm pretty sure you can do this directly with a .squeeze() afterwards.
The code does look pretty similar
squeeze()
pandas/pandas/core/generic.py
Lines 979 to 985 in 5f648bf
vs
read_csv(squeeze=True)
pandas/pandas/io/parsers/readers.py
Lines 1063 to 1064 in 1530210
The text was updated successfully, but these errors were encountered: