Skip to content

Commit f83a920

Browse files
cpcloudalanbato
authored andcommitted
DOC: Add column name metadata to spec (pandas-dev#17769)
1 parent f9eeb89 commit f83a920

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/developer.rst

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ So that a ``pandas.DataFrame`` can be faithfully reconstructed, we store a
4545
.. code-block:: text
4646
4747
{'index_columns': ['__index_level_0__', '__index_level_1__', ...],
48+
'column_index_names': [<column index level name 0>, <column index level name 1>, ...],
49+
'column_index_dtypes': [<dtype 0>, <dtype 1>, ..., <dtype N>]
4850
'columns': [<c0>, <c1>, ...],
4951
'pandas_version': $VERSION}
5052
@@ -106,6 +108,8 @@ As an example of fully-formed metadata:
106108
.. code-block:: text
107109
108110
{'index_columns': ['__index_level_0__'],
111+
'column_index_names': [None],
112+
'column_index_dtypes': ['object'],
109113
'columns': [
110114
{'name': 'c0',
111115
'pandas_type': 'int8',

0 commit comments

Comments
 (0)