Skip to content

Commit

Permalink
Read without options
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon committed Feb 29, 2016
1 parent fea9df8 commit cec8442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/sql/readwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ def csv(self, paths):
:param paths: string, or list of strings, for input path(s).
>>> df = sqlContext.read.option("inferSchema", "true").csv('python/test_support/sql/ages.csv')
>>> df = sqlContext.read.csv('python/test_support/sql/ages.csv')
>>> df.dtypes
[('C0', 'string'), ('C1', 'int')]
[('C0', 'string'), ('C1', 'string')]
"""
if isinstance(paths, basestring):
paths = [paths]
Expand Down

0 comments on commit cec8442

Please sign in to comment.