Github user ernstp commented on a diff in the pull request: https://github.com/apache/spark/pull/13576#discussion_r66439085 --- Diff: python/pyspark/sql/readwriter.py --- @@ -304,13 +308,13 @@ def text(self, paths): @since(2.0) def csv(self, path, schema=None, sep=None, encoding=None, quote=None, escape=None, - comment=None, header=None, ignoreLeadingWhiteSpace=None, ignoreTrailingWhiteSpace=None, - nullValue=None, nanValue=None, positiveInf=None, negativeInf=None, dateFormat=None, - maxColumns=None, maxCharsPerColumn=None, mode=None): - """Loads a CSV file and returns the result as a [[DataFrame]]. + comment=None, header=None, inferSchema=None, ignoreLeadingWhiteSpace=None, + ignoreTrailingWhiteSpace=None, nullValue=None, nanValue=None, positiveInf=None, + negativeInf=None, dateFormat=None, maxColumns=None, maxCharsPerColumn=None, mode=None): + """Loads a CSV file and returns the result as a :class:`DataFrame`. This function goes through the input once to determine the input schema. To avoid going --- End diff -- Yeah it implies that inferSchema is always enabled. I would just remove it and let the inferSchema parameter documentation speak for itself.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org