Because I was dumb, instead of using df.to_dict(orient='records') to convert pandas rows to dicts, I implemented my own function. While functionally equivalent, this is non-pythonic and should be replaced with the built in function. Should be a minor performance bump too because extract is used frequently.
Because I was dumb, instead of using df.to_dict(orient='records') to convert pandas rows to dicts, I implemented my own function. While functionally equivalent, this is non-pythonic and should be replaced with the built in function. Should be a minor performance bump too because extract is used frequently.