You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/user_guide/io.rst
+10-3
Original file line number
Diff line number
Diff line change
@@ -1864,7 +1864,7 @@ with optional parameters:
1864
1864
* ``date_format`` : string, type of date conversion, 'epoch' for timestamp, 'iso' for ISO8601.
1865
1865
* ``double_precision`` : The number of decimal places to use when encoding floating point values, default 10.
1866
1866
* ``force_ascii`` : force encoded string to be ASCII, default True.
1867
-
* ``date_unit`` : The time unit to encode to, governs timestamp and ISO8601 precision. One of 's', 'ms', 'us' or 'ns' for seconds, milliseconds, microseconds and nanoseconds respectively. Default 'ms'.
1867
+
* ``date_unit`` : The time unit to encode to, governs timestamp and ISO8601 precision. One of 'D', 's', 'ms', 'us' or 'ns' for days, seconds, milliseconds, microseconds and nanoseconds respectively. Default 'ms'.
1868
1868
* ``default_handler`` : The handler to call if an object cannot otherwise be converted to a suitable format for JSON. Takes a single argument, which is the object to convert, and returns a serializable object.
1869
1869
* ``lines`` : If ``records`` orient, then will write each record per line as json.
1870
1870
* ``mode`` : string, writer mode when writing to path. 'w' for write, 'a' for append. Default 'w'
@@ -1964,6 +1964,13 @@ Writing in ISO date format, with microseconds:
@@ -2064,8 +2071,8 @@ is ``None``. To explicitly force ``Series`` parsing, pass ``typ=series``
2064
2071
* ``precise_float`` : boolean, default ``False``. Set to enable usage of higher precision (strtod) function when decoding string to double values. Default (``False``) is to use fast but less precise builtin functionality.
2065
2072
* ``date_unit`` : string, the timestamp unit to detect if converting dates. Default
2066
2073
None. By default the timestamp precision will be detected, if this is not desired
2067
-
then pass one of 's', 'ms', 'us' or 'ns' to force timestamp precision to
2068
-
seconds, milliseconds, microseconds or nanoseconds respectively.
2074
+
then pass one of 'D', 's', 'ms', 'us' or 'ns' to force timestamp precision to
2075
+
days, seconds, milliseconds, microseconds or nanoseconds respectively.
2069
2076
* ``lines`` : reads file as one json object per line.
2070
2077
* ``encoding`` : The encoding to use to decode py3 bytes.
2071
2078
* ``chunksize`` : when used in combination with ``lines=True``, return a JsonReader which reads in ``chunksize`` lines per iteration.
0 commit comments