Skip to content

Commit

Permalink
remove variable_types from normalize entity (#205)
Browse files Browse the repository at this point in the history
* remove `variable_types` from normalize entity

* update docstring
  • Loading branch information
Seth-Rothschild authored and kmax12 committed Aug 6, 2018
1 parent 7545ff0 commit c54c0af
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions featuretools/entityset/entityset.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,9 +746,8 @@ def normalize_entity(self, base_entity_id, new_entity_id, index,
make_secondary_time_index=None,
new_entity_time_index=None,
new_entity_secondary_time_index=None,
time_index_reduce='first',
variable_types=None):
"""Utility to normalize an entity_store
time_index_reduce='first'):
"""Create a new entity and relationship from unique values of an existing variable.
Args:
base_entity_id (str) : Entity id from which to split.
Expand Down Expand Up @@ -792,12 +791,8 @@ def normalize_entity(self, base_entity_id, new_entity_id, index,
If creating a secondary time index, then the primary time index always reduces
using 'first', and secondary using 'last'.
variable_types (dict[str -> Variable]): A dictionary of variable types for the new entity.
Keys are variable ids and values are variable types.
"""
base_entity = self.entity_dict[base_entity_id]
# variable_types = base_entity.variable_types
additional_variables = additional_variables or []
copy_variables = copy_variables or []

Expand Down

0 comments on commit c54c0af

Please sign in to comment.