Skip to content

Commit 0c57d65

Browse files
committed
Tweaks, add pandas version
1 parent 47caeb8 commit 0c57d65

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/source/metadata.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ So that a ``pandas.DataFrame`` can be faithfully reconstructed, we store a
3434
.. code-block:: text
3535
3636
{'index_columns': ['__index_level_0__', '__index_level_1__', ...],
37-
'columns': [<c0>, <c1>, ...]}
37+
'columns': [<c0>, <c1>, ...],
38+
'pandas_version': '0.20.0'}
3839
3940
Here, ``<c0>`` and so forth are dictionaries containing the metadata for each
4041
column. This has JSON form:
@@ -76,7 +77,7 @@ As an example of fully-formed metadata:
7677
'numpy_type': 'int8',
7778
'metadata': None},
7879
{'name': 'c1',
79-
'type': 'string',
80+
'type': 'bytes',
8081
'numpy_type': 'object',
8182
'metadata': None},
8283
{'name': 'c2',
@@ -91,4 +92,5 @@ As an example of fully-formed metadata:
9192
'type': 'int64',
9293
'numpy_type': 'int64',
9394
'metadata': None}
94-
]}
95+
],
96+
'pandas_version': '0.20.0'}

0 commit comments

Comments
 (0)