metacountregressor 0.1.169__py3-none-any.whl → 0.1.177__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.
@@ -345,8 +345,11 @@ def transform_dataframe(df, config):
345
345
 
346
346
  elif settings['type'] == 'none':
347
347
  # Leave the column unchanged
348
- output_df = pd.concat([output_df, df[[column]]], axis=1)
348
+ if column in df.columns:
349
349
 
350
+ output_df = pd.concat([output_df, df[[column]]], axis=1)
351
+ else:
352
+ print(f'config variable {column} is not in the data. Ignoring ...')
350
353
  return output_df
351
354
 
352
355
  # Helper function to guess column type and update `config`
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.169
3
+ Version: 0.1.177
4
4
  Summary: Extensive Testing for Estimation of Data Count Models
5
5
  Home-page: https://github.com/zahern/CountDataEstimation
6
6
  Author: Zeke Ahern
@@ -3,7 +3,7 @@ metacountregressor/_device_cust.py,sha256=759fnKmTYccJm4Lpi9_1reurh6OB9d6q9soPR0
3
3
  metacountregressor/app_main.py,sha256=vY3GczTbGbBRalbzMkl_9jVW7RMgEOc6z2Dr1IZJv9c,10014
4
4
  metacountregressor/data_split_helper.py,sha256=M2fIMdIO8znUaYhx5wlacRyNWdQjNYu1z1wkE-kFUYU,3373
5
5
  metacountregressor/halton.py,sha256=jhovA45UBoZYU9g-hl6Lb2sBIx_ZBTNdPrpgkzR9fng,9463
6
- metacountregressor/helperprocess.py,sha256=HWlEUVNOJo6flQ9sgpDqr-pvXT64vCkaF5mvlggZf7g,21743
6
+ metacountregressor/helperprocess.py,sha256=NmUT0COc9Snxaz9TCV_EQgD2duKuDq_-9673evzv8D4,21887
7
7
  metacountregressor/main.py,sha256=xfpKN2w0kePHp_Q2HOPjtG15PLEN1L3sEnDw1PHBquw,23668
8
8
  metacountregressor/main_old.py,sha256=eTS4ygq27MnU-dZ_j983Ucb-D5XfbVF8OJQK2hVVLZc,24123
9
9
  metacountregressor/metaheuristics.py,sha256=rIdBa28EroIYqoE8ZI1isuj_o-tOWHo6jKi1HQJ06lU,106292
@@ -13,8 +13,8 @@ metacountregressor/setup.py,sha256=5UcQCCLR8Fm5odA3MX78WwahavxFq4mVD6oq0IuQvAY,9
13
13
  metacountregressor/single_objective_finder.py,sha256=jVG7GJBqzSP4_riYr-kMMKy_LE3SlGmKMunNhHYxgRg,8011
14
14
  metacountregressor/solution.py,sha256=iBFew32bS1YZfEBc0USNbd3i0XKRNCTxXxbltHuJVAM,279244
15
15
  metacountregressor/test_generated_paper2.py,sha256=pwOoRzl1jJIIOUAAvbkT6HmmTQ81mwpsshn9SLdKOg8,3927
16
- metacountregressor-0.1.169.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
17
- metacountregressor-0.1.169.dist-info/METADATA,sha256=TpVvC3aRrlFlmWi4rbWmAKVQ68YnEhXNj4qrsaKf-X0,23537
18
- metacountregressor-0.1.169.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
19
- metacountregressor-0.1.169.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
20
- metacountregressor-0.1.169.dist-info/RECORD,,
16
+ metacountregressor-0.1.177.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
17
+ metacountregressor-0.1.177.dist-info/METADATA,sha256=Zv0MEZzdmfm9tcGxUA_0m_VOI-dK9izCMVOmEg-HM9k,23537
18
+ metacountregressor-0.1.177.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
19
+ metacountregressor-0.1.177.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
20
+ metacountregressor-0.1.177.dist-info/RECORD,,