Skip to content

Commit 74b4dd8

Browse files
committed
Fix python docs
1 parent f58e33d commit 74b4dd8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

python/pyspark/sql/readwriter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ def csv(self, path, schema=None, sep=None, encoding=None, quote=None, escape=Non
318318
being read should be skipped. If None is set, it uses
319319
the default value, ``false``.
320320
:param nullValue: sets the string representation of a null value. If None is set, it uses
321-
the default value, empty string.
321+
the default value, empty string. Since 2.0.1, this ``nullValue`` param
322+
applies to all supported types including the string type.
322323
:param nanValue: sets the string representation of a non-number value. If None is set, it
323324
uses the default value, ``NaN``.
324325
:param positiveInf: sets the string representation of a positive infinity value. If None

python/pyspark/sql/streaming.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,8 @@ def csv(self, path, schema=None, sep=None, encoding=None, quote=None, escape=Non
485485
being read should be skipped. If None is set, it uses
486486
the default value, ``false``.
487487
:param nullValue: sets the string representation of a null value. If None is set, it uses
488-
the default value, empty string.
488+
the default value, empty string. Since 2.0.1, this ``nullValue`` param
489+
applies to all supported types including the string type.
489490
:param nanValue: sets the string representation of a non-number value. If None is set, it
490491
uses the default value, ``NaN``.
491492
:param positiveInf: sets the string representation of a positive infinity value. If None

0 commit comments

Comments
 (0)