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
# Your code hereWrongexamplein:
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.ne.html#pandas.Series.neandpandas.Series.lehttps://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.le.html
Problem description
The documentation for pandas.Series.ne and le uses pandas.Series.add as an example. Shouldn't it be something using a.ne or a.le ?
Output of pd.show_versions()
Example is:
a.add(b, fill_value=0)
a 2.0
b 1.0
c 1.0
d 1.0
e NaN
dtype: float64
The text was updated successfully, but these errors were encountered:
Essentially a dup of #24589. An example for add is essentially hardcoded for all these ops, but specific examples certainly welcome to improve the documentation for each method,
Code Sample, a copy-pastable example if possible
Problem description
The documentation for pandas.Series.ne and le uses pandas.Series.add as an example. Shouldn't it be something using a.ne or a.le ?
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: