-
Notifications
You must be signed in to change notification settings - Fork 197
ndjson #1197
Copy link
Copy link
Open
Labels
hacktoberfestHacktoberfest issuesHacktoberfest issueshacktoberfest2024hacktoberfest 2024hacktoberfest 2024
Metadata
Metadata
Assignees
Labels
hacktoberfestHacktoberfest issuesHacktoberfest issueshacktoberfest2024hacktoberfest 2024hacktoberfest 2024
Type
Fields
Give feedbackNo fields configured for issues without a type.
Implement ndjson https://docs.pola.rs/api/python/stable/reference/api/polars.read_ndjson.html and https://docs.pola.rs/api/python/stable/reference/api/polars.DataFrame.write_ndjson.html as a data saver/loader.
It should go into https://github.com/DAGWorks-Inc/hamilton/blob/main/hamilton/plugins/polars_post_1_0_0_extensions.py, one class for the writer, on class for the reader, e.g. much like how the polars json reader and writer are structured.
There should be requisite tests to exercise the functionality. We can do one test that writes & then reads it's own output.
Then an example should be added to the directory called materialization under example/polars. It should mirror the current structure in there.
If there's an issue with type hints, let me know and we can chat through it.