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
Feature request:
Could you allow for process_record function while reading in avro? Here is a suggestion.
def __file_to_dataframe(f, schema, process_record=None, **kwargs):
reader = fastavro.reader(f, reader_schema=schema)
records = list()
if preprocess_record:
records = [process_record(r) for r in avro_reader]
else:
records = list(avro_reader)
return pd.DataFrame.from_records(records, **kwargs)
The text was updated successfully, but these errors were encountered:
Feature request:
Could you allow for process_record function while reading in avro? Here is a suggestion.
The text was updated successfully, but these errors were encountered: