hendrikmakait commented on code in PR #37632:
URL: https://github.com/apache/arrow/pull/37632#discussion_r1319925373
##########
python/pyarrow/types.pxi:
##########
@@ -2634,13 +2634,14 @@ cdef class Schema(_Weakrefable):
Parameters
----------
df : pandas.DataFrame
- preserve_index : bool, default True
- Whether to store the index as an additional column (or columns, for
- MultiIndex) in the resulting `Table`.
- The default of None will store the index as a column, except for
- RangeIndex which is stored as metadata only. Use
- ``preserve_index=True`` to force it to be stored as a column.
-
+
+ preserve_index : bool, optional
+ Whether to store the index as an additional column (or columns,
+ for MultiIndex) in the resulting ``Schema``. The default of None
Review Comment:
Note that the MultiIndex behavior is not described in `Table.from_pandas`,
should that be updated?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]