We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34649f2 commit fb51ca9Copy full SHA for fb51ca9
pandas/core/indexes/base.py
@@ -1190,6 +1190,11 @@ def to_frame(self, index=True):
1190
DataFrame
1191
DataFrame containing the original Index data.
1192
1193
+ See Also
1194
+ --------
1195
+ Index.to_series : Convert an Index to a Series.
1196
+ Series.to_frame : Convert Series to DataFrame.
1197
+
1198
Examples
1199
--------
1200
>>> idx = pd.Index(['Ant', 'Bear', 'Cow'], name='animal')
0 commit comments