USEPA / standardizedinventories

Standardized Release and Waste Inventories
MIT License
25 stars 16 forks source link

Create way to save output as CSV instead of Parquet #113

Closed Greatest125 closed 2 years ago

Greatest125 commented 2 years ago

Firstly, this is some amazing software. Thank you for creating and actively developing it.

Working with the Parquet file format can be a hurdle for some users, can there be an option that might save the Parquet to a CSV?

Thank you!

bl-young commented 2 years ago

any dataframe can be saved as csv using standard pandas functions.


import stewi
inventory = 'NEI'
year = '2017'
inventory_results = stewi.getInventory(inventory,year, 'flowbyfacility')
inventory_results.to_csv('my_file.csv')