Initial implementation for #44, "reduce data script complexity."
Creates a single method call for converting DataFrames to TFE datasets. This PR implements most of the API, but is still missing handling for background images and additional unit tests.
Most of the code logic is copied from our existing example data scripts, which you can reference for faster review.
Estimated review size: medium, 30 minutes
Changes
Adds the converter.py module.
Contains the convert_colorizer_data() method, which takes in a DataFrame and writes the converted TFE dataset to the provided output directory.
Added logic for detecting when frames should be regenerated.
Updates the __init__.py module for simpler imports (all classes/methods/constants can be imported from colorizer_data instead of specific submodules)
Adds basic unit tests for convert_colorizer_data().
Initial implementation for #44, "reduce data script complexity."
Creates a single method call for converting
DataFrame
s to TFE datasets. This PR implements most of the API, but is still missing handling for background images and additional unit tests.Most of the code logic is copied from our existing example data scripts, which you can reference for faster review.
Estimated review size: medium, 30 minutes
Changes
converter.py
module.convert_colorizer_data()
method, which takes in aDataFrame
and writes the converted TFE dataset to the provided output directory.__init__.py
module for simpler imports (all classes/methods/constants can be imported fromcolorizer_data
instead of specific submodules)convert_colorizer_data()
.Spin-off PRs:
63