shancx 1.9.33.231__py3-none-any.whl → 1.9.33.232__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.
shancx/H/simple.py CHANGED
@@ -1,3 +1,8 @@
1
- def getSimple(df,n=1000)
2
- df = df.sample(n=n, replace=True, random_state=42)
1
+ import traceback
2
+ def getSimple(df=None,n=1000):
3
+ try:
4
+ df = df.sample(n=n, replace=True, random_state=42)
5
+ except Exception as e :
6
+ print(traceback.format_exc())
7
+ return None
3
8
  return df
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shancx
3
- Version: 1.9.33.231
3
+ Version: 1.9.33.232
4
4
  Summary: A simple timer decorator
5
5
  Home-page: https://gitee.com/shancx
6
6
  Author: shancx
@@ -61,7 +61,7 @@ shancx/Fillmiss/imgidwLatLonJU.py,sha256=ltYZj9CwN8cVs4Kow64oVN1EiBERgW9FceTUBFk
61
61
  shancx/Gpu/__init__.py,sha256=4Ahq04phTGVlFWN9Vih0WAh-IqFrhtwM5hj4G1IU2Dk,1950
62
62
  shancx/H/__init__.py,sha256=LzGCfmNvFq5nJQV-H5qvlbbN7Yv93Tv5XEAP92t8Hc4,97
63
63
  shancx/H/optSchler.py,sha256=vlrditYROuWoKX6XnKCslX4XU-fQEaCXMYF-ZHWEaGQ,793
64
- shancx/H/simple.py,sha256=LzGCfmNvFq5nJQV-H5qvlbbN7Yv93Tv5XEAP92t8Hc4,97
64
+ shancx/H/simple.py,sha256=mndEspQfaUBkBLbPjw8eejr63l6OINSOMQJXDjgi-u0,223
65
65
  shancx/H9/__init__.py,sha256=FCarcXfU2tVD2KrCGKNNUuL51zAWZYHV7lrP7gntvaI,4911
66
66
  shancx/H9/ahi_read_hsd.py,sha256=bt9oOOARcXijmyGpmHYXj0NKnuTntZjqx0_tu6Vp2vs,33522
67
67
  shancx/H9/ahisearchtable.py,sha256=e2kpz-P5npgL4gzNxn8igERJuWWIysvTNLkptr5_Zcc,9579
@@ -90,7 +90,7 @@ shancx/Train/multiGpu.py,sha256=D_oZeiSc7VWktpnVDwrFOC1CYZSt9rxOKY5lngE5vFg,820
90
90
  shancx/Train/prepare.py,sha256=vL_8UOA66oZCBIwCICtihsGibivtNgaVJGulJxfNdn8,6793
91
91
  shancx/Train/renet50.py,sha256=wEhYk1X96WE5zuqHqVxWLJa-A5jDNkz4z6edORNufnA,6428
92
92
  shancx/tensBoard/__init__.py,sha256=ga2C5YyJITvvQA1ocpxna_KNFnNRJVwkTjLoIglLZUQ,993
93
- shancx-1.9.33.231.dist-info/METADATA,sha256=QOKaFMT9FveiLhroAfp4_fl6n8Iib13TJDXxz2FLR4Q,850
94
- shancx-1.9.33.231.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
- shancx-1.9.33.231.dist-info/top_level.txt,sha256=akfCS1vKWz3pNmEN_yN9ZiGp-60IQY5ET38mRx_i_-4,7
96
- shancx-1.9.33.231.dist-info/RECORD,,
93
+ shancx-1.9.33.232.dist-info/METADATA,sha256=9WDsU0Z4dIdV5u5BsKQFCwPWEUb2kmUa-017b7dFyX8,850
94
+ shancx-1.9.33.232.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
+ shancx-1.9.33.232.dist-info/top_level.txt,sha256=akfCS1vKWz3pNmEN_yN9ZiGp-60IQY5ET38mRx_i_-4,7
96
+ shancx-1.9.33.232.dist-info/RECORD,,