8000 DOC Fix inconsistencies by Scowley4 · Pull Request #26301 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC Fix inconsistencies #26301

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
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
Removed colons from end of headers (and fixed mispelling
  • Loading branch information
Scowley4 committed May 7, 2019
commit 25918e65da171aa713cef35e89e87b0739b3ab0f
8 changes: 4 additions & 4 deletions pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -800,13 +800,13 @@ def _try_cast(self, result, obj, numeric_only=False):

def _transform_should_cast(self, func_nm):
"""
Parameters:
-----------
Parameters
----------
func_nm: str
The name of the aggregation function being performed

Returns:
--------
Returns
-------
bool
Whether transform should attempt to cast the result of aggregation
"""
Expand Down
4 changes: 2 additions & 2 deletions pandas/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ def _align_series(self, indexer, ser, multiindex_indexer=False):
a `pd.MultiIndex`, to avoid unnecessary broadcasting.


Returns:
--------
Returns
-------
`np.array` of `ser` broadcast to the appropriate shape for assignment
to the locations selected by `indexer`

Expand Down
4 changes: 2 additions & 2 deletions pandas/core/internals/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2212,8 +2212,8 @@ def _maybe_coerce_values(self, values):
"""Input validation for values passed to __init__. Ensure that
we have datetime64TZ, coercing if necessary.

Parametetrs
-----------
Parameters
----------
values : array-like
Must be convertible to datetime64

Expand Down
4 changes: 2 additions & 2 deletions pandas/io/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1727,8 +1727,8 @@ def _infer_types(self, values, na_values, try_num_bool=True):
try_num_bool : bool, default try
try to cast values to numeric (first preference) or boolean

Returns:
--------
Returns
-------
converted : ndarray
na_count : int
"""
Expand Down
4 changes: 2 additions & 2 deletions pandas/io/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -3470,8 +3470,8 @@ def create_axes(self, axes, obj, validate=True, nan_rep=None,
leagcy tables create an indexable column, indexable index,
non-indexable fields

Parameters:
-----------
Parameters
----------
axes: a list of the axes in order to create (names or numbers of
the axes)
obj : the object to create axes on
Expand Down
8 changes: 4 additions & 4 deletions pandas/plotting/_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,15 +597,15 @@ def autocorrelation_plot(series, ax=None, **kwds):
"""
Autocorrelation plot for time series.

Parameters:
-----------
Parameters
----------
series: Time series
ax: Matplotlib axis object, optional
kwds : keywords
Options to pass to matplotlib plotting method

Returns:
-----------
Returns
-------
class:`matplotlib.axis.Axes`
"""
import matplotlib.pyplot as plt
Expand Down
0