-
-
Notifications
You must be signed in to change notification settings - Fork 141
Remove deprecated arguments and functions #307
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
Conversation
# Conflicts: # pandas-stubs/core/frame.pyi # pandas-stubs/core/generic.pyi # pandas-stubs/core/groupby/groupby.pyi # pandas-stubs/core/indexes/datetimes.pyi # pandas-stubs/core/indexes/timedeltas.pyi # pandas-stubs/core/resample.pyi # pandas-stubs/core/series.pyi # pandas-stubs/core/window/rolling.pyi # pandas-stubs/io/formats/style.pyi # pandas-stubs/io/parsers.pyi # tests/test_pandas.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor comments and a question
@@ -15,6 +15,7 @@ from pandas._typing import ( | |||
|
|||
def read_xml( | |||
path_or_buffer: FilePath | ReadBuffer[bytes] | ReadBuffer[str], | |||
*, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clear why you added this??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We deprecated passing positional arguments to read_xml in 1.4
Deprecated passing arguments as positional for read_xml() other than path_or_buffer (GH45133)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, the docs don't say anything about that, so maybe the docs should be updated as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are not mentioning positional deprecations in the docs
Opened pandas-dev/pandas#48599 to add deprecation flags in the docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @phofl
assert_type()
to assert the type of any return valueThis is for the 1.4 deprecations