Open
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
This comment on the python discussion is interesting:
https://discuss.python.org/t/name-suggestions-for-attributeerrors-and-possibly-nameerrors-should-not-include-names-with-single-leading-underscores/48588
Example code (from main):
>>> pd.DataFrame.append()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'DataFrame' has no attribute 'append'. Did you mean: '_append'?
What is happening is that the python interpreter is suggesting people use DataFrame._append()
since we removed append()
Feature Description
I think if we renamed the internal _append()
to something like _internal_append_do_not_use()
then maybe the interpreter wouldn't do that suggestion.
Alternative Solutions
Bring back DataFrame.append()
???
Additional Context
No response