pandas.io.stata.StataReader.data

StataReader.data(convert_dates=True, convert_categoricals=True, index=None)

Reads observations from Stata file, converting them into a dataframe

Parameters :

convert_dates : boolean, defaults to True

Convert date variables to DataFrame time values

convert_categoricals : boolean, defaults to True

Read value labels and convert columns to Categorical/Factor variables

index : identifier of index column

identifier of column that should be used as index of the DataFrame

Returns :

y : DataFrame instance