upgini 1.1.237a1__py3-none-any.whl → 1.1.237a2__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.

@@ -49,10 +49,11 @@ def remove_fintech_duplicates(df: pd.DataFrame,
49
49
  return df
50
50
 
51
51
  def has_diff_target_within_60_days(rows):
52
- rows = DateTimeSearchKeyConverter(date_col).convert(rows)
53
52
  rows = rows.sort_values(by=date_col)
54
53
  return len(rows[rows[TARGET].ne(rows[TARGET].shift()) & (rows[date_col].diff() < 60 * 24 * 60 * 60 * 1000)]) > 0
55
54
 
55
+ df = DateTimeSearchKeyConverter(date_col).convert(df)
56
+ grouped_by_personal_cols = df.groupby(personal_cols, group_keys=False)
56
57
  rows_with_diff_target = grouped_by_personal_cols.filter(has_diff_target_within_60_days)
57
58
  if len(rows_with_diff_target) > 0:
58
59
  perc = len(rows_with_diff_target) * 100 / len(df)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: upgini
3
- Version: 1.1.237a1
3
+ Version: 1.1.237a2
4
4
  Summary: Intelligent data search & enrichment for Machine Learning
5
5
  Home-page: https://upgini.com/
6
6
  Author: Upgini Developers
@@ -40,7 +40,7 @@ upgini/utils/country_utils.py,sha256=9BXSXoGm3nVoOZE_bRENY-KMkwMUFvAF3Au0zxUNA1o
40
40
  upgini/utils/custom_loss_utils.py,sha256=DBslpjWGPt7xTeypt78baR59012SYphbPsO_YLKdilo,3972
41
41
  upgini/utils/cv_utils.py,sha256=6pSSL_Ft_8C6n6aInJeiyeSBD7McjsMxKZpHqSBV0uY,2491
42
42
  upgini/utils/datetime_utils.py,sha256=awsLpnFjBNcrsCDyyiiJLicHgHiGCNAwi0UOwRKGD7s,8645
43
- upgini/utils/deduplicate_utils.py,sha256=GoZaMslZzVOaHiRHEVkznWuH55OwKKOxcIKsDAgzpBM,2728
43
+ upgini/utils/deduplicate_utils.py,sha256=o-XY0hbqikQTzwpX0nyl34j_oiBQTefCvRgLHkZRkTE,2795
44
44
  upgini/utils/display_utils.py,sha256=tiq5sFOfMwkKCjQ7OGdyK_twe0Qdr9F3mzkW1QXSDog,10664
45
45
  upgini/utils/email_utils.py,sha256=MhCLUAWqbp81xRyKizauNhVx6t_MFeJQRQ8pFM7EpFo,3480
46
46
  upgini/utils/fallback_progress_bar.py,sha256=f-VzVbiO6oU9WoKzEgoegYotixdiKanGlvdQCOGC-NY,1128
@@ -54,8 +54,8 @@ upgini/utils/sklearn_ext.py,sha256=IMx2La70AXAggApVpT7sMEjWqVWon5AMZt4MARDsIMQ,4
54
54
  upgini/utils/target_utils.py,sha256=cu52icjhDIPpEStHYMXrD2hIl9gzvfnxZr0Ra5osV0k,1616
55
55
  upgini/utils/track_info.py,sha256=DVNVZmXUb4f25DSPEuUNEFx49hNEBfmuY9iSW5jkMnI,5708
56
56
  upgini/utils/warning_counter.py,sha256=vnmdFo5-7GBkU2bK9h_uC0K0Y_wtfcYstxOdeRfacO0,228
57
- upgini-1.1.237a1.dist-info/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
58
- upgini-1.1.237a1.dist-info/METADATA,sha256=JN2NeYkcwMCKWMS68wvKqpI4YvJahinoKi_M9jq1kiw,48346
59
- upgini-1.1.237a1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
60
- upgini-1.1.237a1.dist-info/top_level.txt,sha256=OFhTGiDIWKl5gFI49qvWq1R9IKflPaE2PekcbDXDtx4,7
61
- upgini-1.1.237a1.dist-info/RECORD,,
57
+ upgini-1.1.237a2.dist-info/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
58
+ upgini-1.1.237a2.dist-info/METADATA,sha256=mBtZeL3wFKNUwe4HYcOPXpcb4fhMFGmIcX-b_torfuo,48346
59
+ upgini-1.1.237a2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
60
+ upgini-1.1.237a2.dist-info/top_level.txt,sha256=OFhTGiDIWKl5gFI49qvWq1R9IKflPaE2PekcbDXDtx4,7
61
+ upgini-1.1.237a2.dist-info/RECORD,,