Skip to content
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