diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index b911f62b69e2a..e3c41c4df9a2d 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -1190,6 +1190,11 @@ def to_frame(self, index=True): DataFrame DataFrame containing the original Index data. + See Also + -------- + Index.to_series : Convert an Index to a Series. + Series.to_frame : Convert Series to DataFrame. + Examples -------- >>> idx = pd.Index(['Ant', 'Bear', 'Cow'], name='animal')