<s> """<STR_LIT>""" <EOL> __docformat__ = '<STR_LIT>' <EOL> COPYRIGHT = """<STR_LIT>""" <EOL> TITLE = __doc__ <EOL> SOURCE = """<STR_LIT>""" <EOL> DESCRSHORT = """<STR_LIT>""" <EOL> DESCRLONG = """<STR_LIT>""" <EOL> NOTE = """<STR_LIT>""" <EOL> from numpy import recfromtxt , column_stack , array <EOL> from statsmodels . datasets import utils as du <EOL> from os . path import dirname , abspath <EOL> PATH = '<STR_LIT>' % ( dirname ( abspath ( __file__ ) ) , '<STR_LIT>' ) <EOL> def load ( ) : <EOL> """<STR_LIT>""" <EOL> data = _get_data ( ) <EOL> return du . process_recarray ( data , endog_idx = <NUM_LIT:0> , dtype = float ) <EOL> def load_pandas ( ) : <EOL> """<STR_LIT>""" <EOL> from pandas import read_csv <EOL> data = read_csv ( PATH ) <EOL> return du . process_recarray_pandas ( data , endog_idx = <NUM_LIT:0> ) <EOL> def _get_data ( ) : <EOL> with open ( PATH , "<STR_LIT:rb>" ) as f : <EOL> data = recfromtxt ( f , delimiter = "<STR_LIT:U+002C>" , names = True , dtype = float ) <EOL> return data </s>
