Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix indenting
  • Loading branch information
bjornjorgensen authored Jan 25, 2022
commit 8ffbef254c7f0edd96398716ec2455d21462b868
3 changes: 2 additions & 1 deletion python/pyspark/pandas/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,8 @@ def to_json(
.. note:: output JSON format is different from pandas'. It always use `orient='records'`
for its output. This behaviour might have to change in the near future.

.. note:: Set ignoreNullFields keyword argument to `True` and path is provided, writer omits columns with all NaN or Null values.
.. note:: Set ignoreNullFields keyword argument to `True` and path is provided,
writer omits columns with all NaN or Null values.

Note NaN's and None will be converted to null and datetime objects
will be converted to UNIX timestamps.
Expand Down