Skip to content

Commit 2806e7d

Browse files
authored
DOC: Clarified pandas_version in to_json (#37025)
1 parent fad14fd commit 2806e7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/generic.py

+4
Original file line numberDiff line numberDiff line change
@@ -2280,6 +2280,10 @@ def to_json(
22802280
and the default ``indent=None`` are equivalent in pandas, though this
22812281
may change in a future release.
22822282
2283+
``orient='table'`` contains a 'pandas_version' field under 'schema'.
2284+
This stores the version of `pandas` used in the latest revision of the
2285+
schema.
2286+
22832287
Examples
22842288
--------
22852289
>>> import json

0 commit comments

Comments
 (0)