imsciences 1.0.2__py3-none-any.whl → 1.0.4__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 imsciences might be problematic. Click here for more details.
- imsciences/pull.py +8 -0
- {imsciences-1.0.2.dist-info → imsciences-1.0.4.dist-info}/METADATA +1 -1
- {imsciences-1.0.2.dist-info → imsciences-1.0.4.dist-info}/RECORD +7 -7
- {imsciences-1.0.2.dist-info → imsciences-1.0.4.dist-info}/WHEEL +1 -1
- {imsciences-1.0.2.dist-info → imsciences-1.0.4.dist-info}/LICENSE.txt +0 -0
- {imsciences-1.0.2.dist-info → imsciences-1.0.4.dist-info}/PKG-INFO-TomG-HP-290722 +0 -0
- {imsciences-1.0.2.dist-info → imsciences-1.0.4.dist-info}/top_level.txt +0 -0
imsciences/pull.py
CHANGED
|
@@ -2704,6 +2704,14 @@ class datapull:
|
|
|
2704
2704
|
# Consider if 0 is the appropriate fill value for your use case
|
|
2705
2705
|
# weekly_df = weekly_df.fillna(0)
|
|
2706
2706
|
|
|
2707
|
+
# Create new column names, keeping "OBS" unchanged
|
|
2708
|
+
new_columns = []
|
|
2709
|
+
for col in weekly_df.columns:
|
|
2710
|
+
if col == "OBS":
|
|
2711
|
+
new_columns.append(col)
|
|
2712
|
+
else:
|
|
2713
|
+
new_columns.append(f"{col}_{cdid}")
|
|
2714
|
+
|
|
2707
2715
|
return weekly_df
|
|
2708
2716
|
print("No data successfully fetched or processed.")
|
|
2709
2717
|
return pd.DataFrame()
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
imsciences/__init__.py,sha256=V9YcZJaBVHi9OdxMnhF8T8O-TSgf83vcm7ai_iU3ODc,119
|
|
2
2
|
imsciences/geo.py,sha256=eLMuLUP8uUmz824qKSWaUR15ou-Kktt56QVxY8ZWIZw,16247
|
|
3
3
|
imsciences/mmm.py,sha256=nQ_XyBRBXkn43h8-4SiGVZmG1Z9Q2iQIIHToknqtX2A,87485
|
|
4
|
-
imsciences/pull.py,sha256=
|
|
4
|
+
imsciences/pull.py,sha256=_nPN3mplhvDDPf-adtMUMdDw71jlgJR3itA5J1EusrQ,124713
|
|
5
5
|
imsciences/unittesting.py,sha256=XW1kHB-ykmR3Pwf0LR-zD9vomkv83YTLAZpfKpgXC3E,49725
|
|
6
6
|
imsciences/vis.py,sha256=ybMrDU-OiXDY_FlTkZqmnMDoU044AZMuQefMwye2wj4,27684
|
|
7
|
-
imsciences-1.0.
|
|
8
|
-
imsciences-1.0.
|
|
9
|
-
imsciences-1.0.
|
|
10
|
-
imsciences-1.0.
|
|
11
|
-
imsciences-1.0.
|
|
12
|
-
imsciences-1.0.
|
|
7
|
+
imsciences-1.0.4.dist-info/LICENSE.txt,sha256=lVq2QwcExPX4Kl2DHeEkRrikuItcDB1Pr7yF7FQ8_z8,1108
|
|
8
|
+
imsciences-1.0.4.dist-info/METADATA,sha256=Sh1ZY7aa2Eexcn8KyWPl6rbXF0p6LPMLpI45oeCkRD4,18872
|
|
9
|
+
imsciences-1.0.4.dist-info/PKG-INFO-TomG-HP-290722,sha256=RMcthCSyWmU6IBsXGL-nYqw0RP06pzjPKK3dzOQcU-8,18846
|
|
10
|
+
imsciences-1.0.4.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
11
|
+
imsciences-1.0.4.dist-info/top_level.txt,sha256=hsENS-AlDVRh8tQJ6-426iUQlla9bPcGc0-UlFF0_iU,11
|
|
12
|
+
imsciences-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|