#NEWLINE# def get_data( ) : #NEWLINE# #INDENT# import os #NEWLINE# curdir = os . path . split ( __file__ ) [ 0 ] #NEWLINE# dt = pandas . read_csv ( os . path . join ( curdir , 'racd10data_with_transformed.csv' ) ) #NEWLINE# mask = ( ~ ( ( np . asarray ( dt [ 'private' ] ) == 1 ) & ( dt [ 'medicaid' ] == 1 ) ) ) #NEWLINE# mask = ( mask & ( dt [ 'docvis' ] <= 70 ) ) #NEWLINE# dt3 = dt [ curdir ] #NEWLINE# dt3 [ 'const' ] = 1 #NEWLINE# return dt3