From 00805fe96fc61c08e5b17581739474fdeeba9079 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 23 Sep 2015 06:30:29 -0500 Subject: [PATCH] DOC: header=None in SAS docs --- doc/source/comparison_with_sas.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/comparison_with_sas.rst b/doc/source/comparison_with_sas.rst index fd42c97c9cbc0..2b3a1b927cbbf 100644 --- a/doc/source/comparison_with_sas.rst +++ b/doc/source/comparison_with_sas.rst @@ -142,10 +142,10 @@ and did not have column names, the pandas command would be: .. code-block:: python - tips = pd.read_csv('tips.csv', sep='\t', header=False) + tips = pd.read_csv('tips.csv', sep='\t', header=None) # alternatively, read_table is an alias to read_csv with tab delimiter - tips = pd.read_table('tips.csv', header=False) + tips = pd.read_table('tips.csv', header=None) In addition to text/csv, pandas supports a variety of other data formats such as Excel, HDF5, and SQL databases. These are all read via a ``pd.read_*``