Skip to content

Commit

Permalink
DOC: Add column name metadata to spec (pandas-dev#17769)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and jreback committed Oct 4, 2017
1 parent a26afca commit d9a8014
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/source/developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ So that a ``pandas.DataFrame`` can be faithfully reconstructed, we store a
.. code-block:: text
{'index_columns': ['__index_level_0__', '__index_level_1__', ...],
'column_index_names': [<column index level name 0>, <column index level name 1>, ...],
'column_index_dtypes': [<dtype 0>, <dtype 1>, ..., <dtype N>]
'columns': [<c0>, <c1>, ...],
'pandas_version': $VERSION}
Expand Down Expand Up @@ -106,6 +108,8 @@ As an example of fully-formed metadata:
.. code-block:: text
{'index_columns': ['__index_level_0__'],
'column_index_names': [None],
'column_index_dtypes': ['object'],
'columns': [
{'name': 'c0',
'pandas_type': 'int8',
Expand Down

0 comments on commit d9a8014

Please sign in to comment.