You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if a columns option could be added to the Stata Reader. Some dta files can be large and I would like to import a few specified columns. Current I am importing the entire file and returning a selection such as:
data=pd.read_stata(fn)[['year', 'exports']]
I would propose pd.read_stata(fn, columns=['year', 'exports'])