We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
to_json
1 parent af74083 commit 2144628Copy full SHA for 2144628
doc/source/user_guide/io.rst
@@ -2287,6 +2287,8 @@ Please note that the literal string 'index' as the name of an :class:`Index`
2287
is not round-trippable, nor are any names beginning with ``'level_'`` within a
2288
:class:`MultiIndex`. These are used by default in :func:`DataFrame.to_json` to
2289
indicate missing values and the subsequent read cannot distinguish the intent.
2290
+The string 'index' as a column name with empty :class:`Index` or if it is
2291
+'index' will raise a ``ValueError``.
2292
2293
.. ipython:: python
2294
:okwarning:
0 commit comments