I am using Pandas to read in a Stata file with the StataReader object, as in:
import pandas as pd
reader = pd.read_stata('file.dta', iterator = True)
Is there a way to get the number of rows in the file before I start using reader.get_chunk
to iterate through chunks?