Skip to content

Commit 00805fe

Browse files
committed
DOC: header=None in SAS docs
1 parent 9e7dc17 commit 00805fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/comparison_with_sas.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ and did not have column names, the pandas command would be:
142142

143143
.. code-block:: python
144144
145-
tips = pd.read_csv('tips.csv', sep='\t', header=False)
145+
tips = pd.read_csv('tips.csv', sep='\t', header=None)
146146
147147
# alternatively, read_table is an alias to read_csv with tab delimiter
148-
tips = pd.read_table('tips.csv', header=False)
148+
tips = pd.read_table('tips.csv', header=None)
149149
150150
In addition to text/csv, pandas supports a variety of other data formats
151151
such as Excel, HDF5, and SQL databases. These are all read via a ``pd.read_*``

0 commit comments

Comments
 (0)