Open ghost opened 6 years ago
Hmm yea it looks like each of the parsers evaluate the callable at different points in time. Unfortunately for the reader being used here, it doesn't look like it ever executes that.
I suppose a simple fix here would be to evaluate the callable in the FixedWidthReader class. It could probably be done in get_rows
as there is already some modification of the object being done there (linked below for ref) - want to submit a PR (with tests) for this?
Code Sample, a copy-pastable example if possible
Problem description
Expected Output
Script runs successfully
Output of
pd.show_versions()