virgo-modules 0.3.5__py3-none-any.whl → 0.3.6__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 virgo-modules might be problematic. Click here for more details.

@@ -1427,8 +1427,11 @@ class stock_eda_panel(object):
1427
1427
  self.df['order_'] = self.df.sort_values('Date').groupby(['order_']).cumcount() + 1
1428
1428
  norm_list = [f'norm_{feature_name}', f'z_{feature_name}', feature_name]
1429
1429
  for norm_feature in norm_list:
1430
- self.df['order_'] = np.sign(self.df[norm_feature])*self.df['order_']
1431
- break
1430
+ try:
1431
+ self.df['order_'] = np.sign(self.df[norm_feature])*self.df['order_']
1432
+ break
1433
+ except:
1434
+ pass
1432
1435
  self.df['order_'] = np.where(self.df[order_feature_name]==0,self.df['order_'],0)
1433
1436
  self.df = self.df.rename(columns={'order_':ns_order_feature_name})
1434
1437
  if save_features:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: virgo-modules
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: data processing and statistical modeling using stock market data
5
5
  Home-page: https://github.com/miguelmayhem92/virgo_module
6
6
  Author: Miguel Mayhuire
@@ -5,14 +5,14 @@ virgo_modules/src/backtester.py,sha256=OhiWyzDX0PthXGuhChyWUmDN3cLkzVYe95zS4nGti
5
5
  virgo_modules/src/hmm_utils.py,sha256=fFWxmh9q3rjiKRHnxNk9k7O4fDrxVxkmp3pbpLvktjc,21116
6
6
  virgo_modules/src/pull_artifacts.py,sha256=5OPrgR7pcMSdpbevDRhf0ebk7g7ZRjff4NpTIIWAKjE,1989
7
7
  virgo_modules/src/re_utils.py,sha256=Exqe5eVGOpyb2j3veAsnFzXh-hXMwHe1zGTa_hO0wjI,73970
8
- virgo_modules/src/ticketer_source.py,sha256=-GMVRcRG7gDyOAHViHeW44ostnpxEZwm3qkBDDig0yw,101908
8
+ virgo_modules/src/ticketer_source.py,sha256=jxP-OOeoyN2JxRQg-mX6t6WNJXiIrhWKDywDxpYANxU,101977
9
9
  virgo_modules/src/transformer_utils.py,sha256=LLwKYZRq5hrPVimnq3taD0Lh-q3Bq21fy1I4Icbnxi8,7677
10
10
  virgo_modules/src/edge_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  virgo_modules/src/edge_utils/conformal_utils.py,sha256=4gAOh2vxeWGR7iMF3TKnfQcLHlaH9M5B2lcmzo7V8AY,3755
12
12
  virgo_modules/src/edge_utils/edge_utils.py,sha256=U3GVyLgz0gEaR7AGjWseFcWt-IOusZvXJjwpBFknxNs,15643
13
13
  virgo_modules/src/edge_utils/shap_utils.py,sha256=OMKVO-4gtOng9GeSuhEgAEQe4FF3AtqXjm-GUBLqYFc,3349
14
- virgo_modules-0.3.5.dist-info/LICENSE,sha256=pNgFyCYgmimaw0o6V20JupZLROycAnOA_HDDh1tX2V4,1097
15
- virgo_modules-0.3.5.dist-info/METADATA,sha256=Swx42r_TM8PZb3RL-VDmWjFHM0B_70KPEhHTFo1be6g,883
16
- virgo_modules-0.3.5.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
17
- virgo_modules-0.3.5.dist-info/top_level.txt,sha256=ZjI-qEkDtT-8mFwGAWnXfqPOKEGlIhWRW1es1VyXc60,14
18
- virgo_modules-0.3.5.dist-info/RECORD,,
14
+ virgo_modules-0.3.6.dist-info/LICENSE,sha256=pNgFyCYgmimaw0o6V20JupZLROycAnOA_HDDh1tX2V4,1097
15
+ virgo_modules-0.3.6.dist-info/METADATA,sha256=yCCV7zH-x7ht6hIFlwwp5VSZKp3Wt78G9mAGSIciDVM,883
16
+ virgo_modules-0.3.6.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
17
+ virgo_modules-0.3.6.dist-info/top_level.txt,sha256=ZjI-qEkDtT-8mFwGAWnXfqPOKEGlIhWRW1es1VyXc60,14
18
+ virgo_modules-0.3.6.dist-info/RECORD,,