tfduck-bsd 0.18.3__tar.gz → 0.18.5__tar.gz
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 tfduck-bsd might be problematic. Click here for more details.
- {tfduck-bsd-0.18.3/tfduck_bsd.egg-info → tfduck-bsd-0.18.5}/PKG-INFO +1 -1
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/setup.py +1 -1
- tfduck-bsd-0.18.5/tfduck/__init__.py +1 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/tga.py +3 -3
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5/tfduck_bsd.egg-info}/PKG-INFO +1 -1
- tfduck-bsd-0.18.3/tfduck/__init__.py +0 -1
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/LICENSE +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/README.md +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/bin/tfduck +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/setup.cfg +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/config/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/config/bdpmanager.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/config/table_config.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/example.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/opends/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/opends/opends.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/bdp_sdk_py/opends/sdk.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/common/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/common/defines.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/common/defines_clean.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/common/extendEncoder.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/main.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/oss/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/oss/oss.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/pyspark_k8s/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/pyspark_k8s/k8s_manage.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/pyspark_k8s/spark_manage.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/s3/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/s3/s3oper.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/sagemaker/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/sagemaker/saoper.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/base_tga.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/predict_sql_ltv.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/predict_sql_retain.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/predict_sql_yh.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/tga_test.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/train_sql_ltv.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/train_sql_retain.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/tga/train_sql_yh.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/thinkdata/__init__.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck/thinkdata/query.py +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck_bsd.egg-info/SOURCES.txt +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck_bsd.egg-info/dependency_links.txt +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck_bsd.egg-info/requires.txt +0 -0
- {tfduck-bsd-0.18.3 → tfduck-bsd-0.18.5}/tfduck_bsd.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__="0.18.5"
|
|
@@ -281,7 +281,7 @@ class ThinkDataQuery(BaseTga):
|
|
|
281
281
|
if data["return_code"] == 0:
|
|
282
282
|
cols = data["data"]["headers"]
|
|
283
283
|
df = pandas.DataFrame(
|
|
284
|
-
data=[], columns=cols,
|
|
284
|
+
data=[], columns=cols, dtype=object
|
|
285
285
|
) # 保存表头
|
|
286
286
|
# 解决科学计数法的问题
|
|
287
287
|
df = df.astype(str)
|
|
@@ -307,7 +307,7 @@ class ThinkDataQuery(BaseTga):
|
|
|
307
307
|
i += 1
|
|
308
308
|
if len(datas) == block_size: # 1000000条保存一次
|
|
309
309
|
df = pandas.DataFrame(
|
|
310
|
-
data=datas, columns=cols,
|
|
310
|
+
data=datas, columns=cols, dtype=object
|
|
311
311
|
) # 保存表头
|
|
312
312
|
# 解决科学计数法的问题
|
|
313
313
|
df = df.astype(str)
|
|
@@ -322,7 +322,7 @@ class ThinkDataQuery(BaseTga):
|
|
|
322
322
|
BMOBJ.clog(ctx, i)
|
|
323
323
|
BMOBJ.clog(ctx, f"total: {i}")
|
|
324
324
|
if len(datas) > 0: # 保存最后收尾的
|
|
325
|
-
df = pandas.DataFrame(data=datas, columns=cols,
|
|
325
|
+
df = pandas.DataFrame(data=datas, columns=cols, dtype=object) # 保存表头
|
|
326
326
|
# 解决科学计数法的问题
|
|
327
327
|
df = df.astype(str)
|
|
328
328
|
df = df.astype("string")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__="0.18.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|