Skip to content

Commit

Permalink
Merge pull request #16 from wesmadrigal/semantic-types
Browse files Browse the repository at this point in the history
broken tests
  • Loading branch information
wesmadrigal authored Nov 27, 2024
2 parents 39a5f8e + adb3fae commit 598562d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions graphreduce/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ def pandas_auto_features (
"""
agg_funcs = {}

self._stypes = infer_df_stype(self.get_sample().head())

ts_data = self.is_ts_data(reduce_key)
if ts_data:
# Make sure the dates are cleaned.
Expand Down Expand Up @@ -485,7 +483,6 @@ def dask_auto_features (
upward through the graph from child nodes with no feature
definitions.
"""
self._stypes = infer_df_stype(self.get_sample().head())
agg_funcs = {}
for col, stype in self._stypes.items():
_type = str(stype)
Expand Down Expand Up @@ -733,10 +730,6 @@ def spark_auto_labels (
provided columns.
"""
agg_funcs = []
#for field in self.df.schema.fields:
# field_meta = json.loads(field.json())
# col = field_meta['name']
# _type = field_meta['type']
for col, stype in self._stypes.items():
_type = str(stype)
if col.endswith('_label'):
Expand Down

0 comments on commit 598562d

Please sign in to comment.