upgini 1.1.296a3521.dev5__py3-none-any.whl → 1.1.296a3521.dev6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of upgini might be problematic. Click here for more details.

upgini/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.1.296a3521.dev5"
1
+ __version__ = "1.1.296a3521.dev6"
upgini/autofe/feature.py CHANGED
@@ -325,17 +325,18 @@ class FeatureGroup:
325
325
  lower_order_children = [
326
326
  ch for f in self.children for ch in f.children if ch.get_display_name() != main_column
327
327
  ]
328
+ lower_order_names = [ch.get_display_name() for ch in lower_order_children]
328
329
  if any(isinstance(f, Feature) for f in lower_order_children):
329
330
  child_data = pd.concat(
330
- [data[main_column]] + [ch.calculate(data) for ch in lower_order_children], axis=1
331
+ [data[main_column]] + [ch.calculate(data) for ch in lower_order_children],
332
+ axis=1,
331
333
  )
334
+ child_data.columns = [main_column] + lower_order_names
332
335
  else:
333
336
  child_data = data[columns]
334
337
 
335
338
  new_data = self.op.calculate_group(child_data, main_column=main_column)
336
- new_data.rename(
337
- columns=dict(zip((c for c in columns if c != main_column), self.get_display_names())), inplace=True
338
- )
339
+ new_data.rename(columns=dict(zip(lower_order_names, self.get_display_names())), inplace=True)
339
340
  else:
340
341
  raise NotImplementedError(f"Unrecognized operator {self.op.name}.")
341
342
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.296a3521.dev5
3
+ Version: 1.1.296a3521.dev6
4
4
  Summary: Intelligent data search & enrichment for Machine Learning
5
5
  Project-URL: Bug Reports, https://github.com/upgini/upgini/issues
6
6
  Project-URL: Homepage, https://upgini.com/
@@ -1,4 +1,4 @@
1
- upgini/__about__.py,sha256=hw_DSyyM8S283cgz_zkPjXawAFKkZq2W9BY3bjwwNhE,34
1
+ upgini/__about__.py,sha256=vuiTMFDXd-Uj2m9CjRGkX93LkhAKHAq3F6nJOvl__xA,34
2
2
  upgini/__init__.py,sha256=ObEtjFkIssl83qeKNMLpIQygfwK8TzztwiI43YTsAP0,353
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=7TLVVhGtjgx_9yaiaIUK3kZSe_R9wg5dY0d4F5qCGM4,45636
@@ -17,7 +17,7 @@ upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  upgini/autofe/all_operands.py,sha256=WJOiNVNVyrWc3vYGMvJtrpGRrLEQ237YMTsWnkUbLNw,2502
18
18
  upgini/autofe/binary.py,sha256=8FXPJxN7fnC5wphO0Dp1tQCa0lFMSDGQGvBMkSIVAcE,4155
19
19
  upgini/autofe/date.py,sha256=va28wBqELETjn1CqZ7bHvz5CcJg8sijFyo9Ti7P-HLw,7711
20
- upgini/autofe/feature.py,sha256=TbPW81696BMbxwxyk14Jv_98kKqDbSKbVK62pjkfI1A,13621
20
+ upgini/autofe/feature.py,sha256=OBR0K_pLYlowmSe54knhv5nwFBjTXiDdW_r9BT9ZxiU,13747
21
21
  upgini/autofe/groupby.py,sha256=4WjDzQxqpZxB79Ih4ihMMI5GDxaFqiH6ZelfV82ClT4,3091
22
22
  upgini/autofe/operand.py,sha256=MKEsl3zxpWzRDpTkE0sNJxTu62U20sWOvEKhPjUWS6s,2915
23
23
  upgini/autofe/unary.py,sha256=ZWjLd-CUkNt_PpM8YuWLLipW1v_RdBlsl4JxXIVo9aM,3652
@@ -57,7 +57,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
57
57
  upgini/utils/target_utils.py,sha256=Y96_PJ5cC-WsEbeqg20v9uqywDQobLoTb-xoP7S3o4E,7807
58
58
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
59
59
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
60
- upgini-1.1.296a3521.dev5.dist-info/METADATA,sha256=mqBWJm9KU8FLVsvBVixKGPCT7DTBLnxuF4qqD6t8kDo,48127
61
- upgini-1.1.296a3521.dev5.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
62
- upgini-1.1.296a3521.dev5.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
- upgini-1.1.296a3521.dev5.dist-info/RECORD,,
60
+ upgini-1.1.296a3521.dev6.dist-info/METADATA,sha256=-nAXUtssutekN2NJUmIaE8xwekNuAKKxZWwzpNswsDU,48127
61
+ upgini-1.1.296a3521.dev6.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
62
+ upgini-1.1.296a3521.dev6.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
+ upgini-1.1.296a3521.dev6.dist-info/RECORD,,