You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warnings.warn("The pandas.json module is deprecated and will be ""removed in a future version. Please import from ""pandas.io.json instead", FutureWarning, stacklevel=2)
pd. is friendly to experienced pandas users, but it may lead to misunderstanding for newbies(no offence).
So is it necessary to unify these two presentations?
I'd like to create a PR if it's necessary.
The text was updated successfully, but these errors were encountered:
Fair question but I don't think the two examples are apples to apples. The former is dealing with API exposed objects whereas the second example is referring to the import path of a particular module. I'd say these are both correct as is.
Do you see any instances where API-exposed objects are being namespaced with pandas instead of pd? Those may be worth updating.
In that specific case, just 'Series' instead of 'pandas.Series' would also be just fine. But, it's in a private docstring, and also not that important.
During the documentation sprint we had some cases where it was not always clear when to use pandas. and when not, but that problem is covered in #20309
There are two kinds of demonstration of pandas in current docstring,
pandas.
andpd.
.For example,
pd.
:and
pandas.
:pd.
is friendly to experienced pandas users, but it may lead to misunderstanding for newbies(no offence).So is it necessary to unify these two presentations?
I'd like to create a PR if it's necessary.
The text was updated successfully, but these errors were encountered: