LSMS_Library 0.2.4__py3-none-any.whl → 0.2.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.
- lsms_library/local_tools.py +2 -2
- {lsms_library-0.2.4.dist-info → lsms_library-0.2.6.dist-info}/METADATA +13 -2
- {lsms_library-0.2.4.dist-info → lsms_library-0.2.6.dist-info}/RECORD +5 -5
- {lsms_library-0.2.4.dist-info → lsms_library-0.2.6.dist-info}/WHEEL +1 -1
- {lsms_library-0.2.4.dist-info → lsms_library-0.2.6.dist-info}/LICENSE.txt +0 -0
lsms_library/local_tools.py
CHANGED
|
@@ -599,7 +599,7 @@ def to_parquet(df,fn):
|
|
|
599
599
|
all = df.reset_index()
|
|
600
600
|
for column in all:
|
|
601
601
|
if all[column].dtype=='O':
|
|
602
|
-
all[column] = all[column].astype(str).astype('
|
|
602
|
+
all[column] = all[column].astype(str).astype('string[pyarrow]').replace('nan',None)
|
|
603
603
|
df = all.set_index(idxnames)
|
|
604
604
|
|
|
605
605
|
df.to_parquet(fn, engine='pyarrow')
|
|
@@ -1110,4 +1110,4 @@ def all_dfs_from_orgfile(orgfn, set_columns=True, to_numeric=True, encoding=None
|
|
|
1110
1110
|
else:
|
|
1111
1111
|
i += 1
|
|
1112
1112
|
|
|
1113
|
-
return tables
|
|
1113
|
+
return tables
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: LSMS_Library
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: Abstraction layer for Living Standards Measurement Survey data
|
|
5
5
|
License: CC-BY-4.0
|
|
6
6
|
Author: Ethan Ligon
|
|
7
7
|
Author-email: ligon@berkeley.edu
|
|
8
|
-
Requires-Python: >=3.11
|
|
8
|
+
Requires-Python: >=3.11, <4.0
|
|
9
9
|
Classifier: License :: Other/Proprietary License
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Requires-Dist: CFEDemands (>=0.7.0)
|
|
15
|
+
Requires-Dist: PyYAML
|
|
16
|
+
Requires-Dist: dvc[s3] (>=3.61.0,<4.0.0)
|
|
17
|
+
Requires-Dist: ligonlibrary (>=0.1.1,<0.2.0)
|
|
18
|
+
Requires-Dist: lsms (>=0.4.7,<0.5.0)
|
|
19
|
+
Requires-Dist: openai (>=1.99.5,<2.0.0)
|
|
20
|
+
Requires-Dist: pandas (>=2.2,<3.0)
|
|
21
|
+
Requires-Dist: pyarrow (>=21.0.0,<22.0.0)
|
|
22
|
+
Requires-Dist: pyreadstat (>=1.3.0,<2.0.0)
|
|
23
|
+
Requires-Dist: scikit-learn (>=1.7.0,<2.0.0)
|
|
24
|
+
Requires-Dist: xarray (>=2025.7.1,<2026.0.0)
|
|
14
25
|
Description-Content-Type: text/plain
|
|
15
26
|
|
|
16
27
|
* Streaming dvc files
|
|
@@ -10537,9 +10537,9 @@ lsms_library/country.py,sha256=mQWujI2N79sO6zSL_ATMA9lST5eSEToI9U4U95oluHk,33844
|
|
|
10537
10537
|
lsms_library/data_info.yml,sha256=Y5GaP52AzJsIvXtioSJP4R63opZcqhjQFsGLjad-2U4,478
|
|
10538
10538
|
lsms_library/demands.py,sha256=UCnUTjoE6FHt32XvRm4hZdIBryOj_YQU4im0-Wu9y7U,749
|
|
10539
10539
|
lsms_library/harmony.py,sha256=hEGLJUnWBXdyGeAAr7qgCFZ0Q-KsiqjBxHrtYbZ8Ngs,2742
|
|
10540
|
-
lsms_library/local_tools.py,sha256=
|
|
10540
|
+
lsms_library/local_tools.py,sha256=8DfMIOI0lJ7_NxfH65uYVIbHyAb8KrOJAKOhn2qNjKU,40716
|
|
10541
10541
|
lsms_library/transformations.py,sha256=uBSGfUAjWMrqSOmxdYYzi9csf8WvjaGCC7lzflJObtU,3661
|
|
10542
|
-
lsms_library-0.2.
|
|
10543
|
-
lsms_library-0.2.
|
|
10544
|
-
lsms_library-0.2.
|
|
10545
|
-
lsms_library-0.2.
|
|
10542
|
+
lsms_library-0.2.6.dist-info/LICENSE.txt,sha256=qImFXcRJwxIHS80FE7uOx6FhmLY8apd4Y12aR54QU7w,282
|
|
10543
|
+
lsms_library-0.2.6.dist-info/METADATA,sha256=Cnn_eFb2XMT64ar6AVoH7JuOuJ_uPSj8sxLXJCdpbQA,5214
|
|
10544
|
+
lsms_library-0.2.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
10545
|
+
lsms_library-0.2.6.dist-info/RECORD,,
|
|
File without changes
|