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

DOC: Extend docstring pandas core index to_frame method #20036

Merged
Prev Previous commit
Next Next commit
Split return info to separate line
  • Loading branch information
stijnvanhoey committed Mar 7, 2018
commit 90eb4affdae2a0cb229f7d92f9c737ea2c0f86aa
3 changes: 2 additions & 1 deletion pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,8 @@ def to_frame(self, index=True):

Returns
-------
DataFrame : a DataFrame containing the original Index data.
DataFrame
DataFrame containing the original Index data.
"""

from pandas import DataFrame
Expand Down