featuretools icon indicating copy to clipboard operation
featuretools copied to clipboard

Adds `series_library` attribute to EntitySet dictionary

Open sbadithe opened this issue 2 years ago • 2 comments

  • Adds series_library attribute to primitive_base
  • Attribute is stored on EntitySet during serialization to lessen complexity (the alternative would be to store it on every primitive object)
  • Modifies empty_dataframe to return the correctly typed dataframe, instead of always returning a pandas one. This solves the problem of serializing your entityset with dask dataframes, and deserializing them but getting pandas ones.

sbadithe avatar Aug 24 '22 21:08 sbadithe

Codecov Report

Merging #2257 (5ba75d0) into main (2e0e992) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2257   +/-   ##
=======================================
  Coverage   99.37%   99.37%           
=======================================
  Files         145      145           
  Lines       17661    17678   +17     
=======================================
+ Hits        17551    17568   +17     
  Misses        110      110           
Impacted Files Coverage Δ
featuretools/entityset/deserialize.py 100.00% <100.00%> (ø)
featuretools/entityset/serialize.py 100.00% <100.00%> (ø)
featuretools/feature_base/feature_base.py 98.15% <100.00%> (+0.02%) :arrow_up:
featuretools/primitives/base/primitive_base.py 100.00% <100.00%> (ø)
.../tests/computational_backend/test_dask_features.py 100.00% <100.00%> (ø)
...etools/tests/entityset_tests/test_serialization.py 99.68% <100.00%> (ø)
...ests/primitive_tests/test_feature_serialization.py 99.61% <100.00%> (+<0.01%) :arrow_up:
.../tests/primitive_tests/test_features_serializer.py 100.00% <100.00%> (ø)
featuretools/utils/gen_utils.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 24 '22 22:08 codecov[bot]

We can change min Woodwork to v0.18.0

gsheni avatar Aug 31 '22 17:08 gsheni

Woodwork has gone out with release v0.19.0 so this PR is ready to be merged in

gsheni avatar Sep 27 '22 21:09 gsheni