问题 I'm trying to use the pandas read_sas() function. First, I create a SAS dataset by running this code in SAS: libname tmp 'c:\temp'; data tmp.test; do i=1 to 100; x=rannor(0); output; end; run; Now, in IPython, I do this: import numpy as np import pandas as pd %cd C:\temp pd.read_sas('test.sas7bdat') Pretty straightforward and seems like it should work. But I just get this error: TypeError: read() takes at most 1 argument (2 given) What am I missing here? I'm using pandas version 0.18.0 . 回答1: