10000 Rt05 documentation error fix issue 25108 by zangell44 · Pull Request #25309 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Rt05 documentation error fix issue 25108 #25309

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

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
777fe4c
pandas.plotting.bootstrap_plot doc updated
zangell44 Feb 12, 2019
a595cac
generic aggregate docstring updated
zangell44 Feb 12, 2019
507d21e
generic clip method docstring updated
zangell44 Feb 12, 2019
950f272
pandas.series.unique docstring update
zangell44 Feb 12, 2019
ba5120f
generic align docstring updated
zangell44 Feb 12, 2019
3cd359f
generic interpolate docstring updated
zangell44 Feb 12, 2019
0266006
generic asof docstric update
zangell44 Feb 12, 2019
86456dd
pandas.tseries.frequencies.to_offset return docstring fix
zangell44 Feb 12, 2019
a86736b
pandas.Index.reindex return docstring fix
zangell44 Feb 12, 2019
7d57782
indexes/base.py return docstring updates
zangell44 Feb 13, 2019
b47b886
indexes/multi.py return docstring updates
zangell44 Feb 13, 2019
63f0468
DataFrame.get_ftype_counts and DataFrame.get_values return docstring …
zangell44 Feb 13, 2019
8d4c6b4
pandas plotting area and boxplot method return docstring updates
zangell44 Feb 13, 2019
a15ec00
pandas.Panel set_value major_xs minor_xs methods return docstring upd…
zangell44 Feb 13, 2019
01a7b19
pandas.Categorical.array return docstring update
zangell44 Feb 13, 2019
998f649
pandas.unique return docstring update
zangell44 Feb 13, 2019
77bd88e
pandas.wide_to_long return docstring update
zangell44 Feb 13, 2019
b090af1
pandas.to_numeric return docstring update
zangell44 Feb 13, 2019
20adfce
pandas.core.window kurt return docstring updated
zangell44 Feb 13, 2019
0514c6f
pandas.io.formats.style.Styler.render return docstring fix
zangell44 Feb 13, 2019
0038a73
strftime return statement docstring fix
zangell44 Feb 13, 2019
021ede4
series.set_value return statement docstring fix
zangell44 Feb 13, 2019
f3a5248
DataFrame.set_value return statement docstring fix
zangell44 Feb 13, 2019
421bab7
pandas.core.Series.unique return docstring update, moved extended des…
zangell44 Feb 14, 2019
24b20a3
pandas.plotting._core.box_plot return docstring udpated, extended ret…
zangell44 Feb 14, 2019
ae87624
code_checks.sh script updated to include RT05 errors in docstring
zangell44 Feb 14, 2019
8b3d251
updated code check CI script to actually check for RT05 errors this t…
zangell44 Feb 14, 2019
6b3ed7b
pandas.plotting._core.box_plot docstring minor formatting edits
zangell44 Feb 14, 2019
dd242ea
pandas.core.Series.unique trailing period removed from Notes portion …
zangell44 Feb 14, 2019
83e120f
Merge remote-tracking branch 'upstream/master' into RT05_documentatio…
zangell44 Feb 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pandas plotting area and boxplot method return docstring updates
  • Loading branch information
zangell44 committed Feb 13, 2019
commit 8d4c6b456514c19dcd8a87cfc00f97b1725ed751
6 changes: 3 additions & 3 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4950,9 +4950,9 @@ def pipe(self, func, *args, **kwargs):
Returns
-------
DataFrame, Series or scalar
If DataFrame.agg is called with a single function, returns a Series.
If DataFrame.agg is called with several functions, returns a DataFrame.
If Series.agg is called with single function, returns a scalar.
If DataFrame.agg is called with a single function, returns a Series
If DataFrame.agg is called with several functions, returns a DataFrame
If Series.agg is called with single function, returns a scalar
If Series.agg is called with several functions, returns a Series.

%(see_also)s
Expand Down
4 changes: 2 additions & 2 deletions pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@ def plot_series(data, kind='line', ax=None, # Series unique
For data grouped with ``by``:

* :class:`~pandas.Series`
* :class:`~numpy.array` (for ``return_type = None``)
* :class:`~numpy.array` (for ``return_type = None``).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar comment here. Maybe move the majority of this into Notes and have the description here just say "See Notes."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, I moved the majority of the return documentation into notes. Let me know what you think.

One alternative would be to simply say 'See Notes.' instead of including the return type.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment


See Also
--------
Expand Down Expand Up @@ -3332,7 +3332,7 @@ def area(self, x=None, y=None, **kwds):
Returns
-------
matplotlib.axes.Axes or numpy.ndarray
Area plot, or array of area plots if subplots is True
Area plot, or array of area plots if subplots is True.

See Also
--------
Expand Down
0