hamilton
hamilton copied to clipboard
pandas gbq
Implement https://pandas.pydata.org/docs/reference/io.html#google-bigquery as a data loader & saver - https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_gbq.html#pandas.DataFrame.to_gbq.
- It should go into pandas_extensions.py, one class for the writer, on class for the reader, e.g. much like how the pandas pickle reader and writer are structured.
- There should be requisite tests to exercise the functionality. Though this will be need to be mocked, since we don't want to connect to GCP to run unit tests.
- We will want a separate example for this one. Since it requires having a GCP account.
- If there's an issue with type hints, let me know and we can chat through it.
working on this
@skrawcz for the third requirement, assuming we're talking about the materialization example, where do you want to store the example? (e.g., examples/pandas/materialization/gbq
, examples/pandas/gbq/materialization
, examples/pandas/materialization/notebook-gbq.ipynb
)
Yeah let's just put it under examples/pandas/materialization/gbq
and have similar script & notebook ? That way it can have its own README too.
I am working on this 👍
Yeah let's just put it under
examples/pandas/materialization/gbq
and have similar script & notebook ? That way it can have its own README too.
I'm working on this 👍