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
The new pint-demo notebook illustrates the fact that we don't yet have a defined way to write (let alone read) Pint-Pandas dataframes. There are several directions we can go, which we have discussed. We should use this test case to make a decision, document it, and publish it.
pd.to_sql can deal with Pint Pandas dataframes (provided all columns are some kind of pint[] type. But reading back the dataframe requires quite a bit of unpacking.
Addresses (somewhat) https://github.com/os-climate/data-platform-demo/issues/50
Especially the functions requantify_df and dequantify_df. So maybe we should migrate this functionality (that is duplicated across multiple ingestion pipeline repos) into osc-ingest-tools.
The new pint-demo notebook illustrates the fact that we don't yet have a defined way to write (let alone read) Pint-Pandas dataframes. There are several directions we can go, which we have discussed. We should use this test case to make a decision, document it, and publish it.
https://github.com/os-climate/data-platform-demo/blob/master/notebooks/pint-demo.ipynb
The text was updated successfully, but these errors were encountered: