8000 DOC/CLN: Fix errors in DataFrame docstrings by dsaxton · Pull Request #24952 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC/CLN: Fix errors in DataFrame docstrings #24952

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 13 commits into from
Feb 14, 2019
Prev Previous commit
Next Next commit
Update DataFrame docstrings
  • Loading branch information
Daniel Saxton committed Jan 27, 2019
commit 2bd26a238b1c1aa1d9d5dfab32cc978d82a5b2fe
18 changes: 9 additions & 9 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6987,8 +6987,8 @@ def corr(self, method='pearson', min_periods=1):

Returns
-------
y : DataFrame
Correlation matrix as a DataFrame.
DataFrame
Correlation matrix.

See Also
--------
Expand Down Expand Up @@ -7184,8 +7184,8 @@ def corrwith(self, other, axis=0, drop=False, method='pearson'):

Returns
-------
correls : Series
Series of correlations.
Series
Pairwise correlations.

See Also
-------
Expand Down Expand Up @@ -7552,8 +7552,8 @@ def idxmin(self, axis=0, skipna=True):

Returns
-------
idxmin : Series
Series of indexes of minima along the specified axis.
Series
Indexes of minima along the specified axis.

Raises
------
Expand Down Expand Up @@ -7589,8 +7589,8 @@ def idxmax(self, axis=0, skipna=True):

Returns
-------
idxmax : Series
Series of indexes of maxima along the specified axis.
Series
Indexes of maxima along the specified axis.

Raises
------
Expand Down Expand Up @@ -7819,7 +7819,7 @@ def to_timestamp(self, freq=None, how='start', axis=0, copy=True):

Returns
-------
df : DataFrame with DatetimeIndex
DataFrame with DatetimeIndex
"""
new_data = self._data
if copy:
Expand Down
0