gitlabds 2.1.8__tar.gz → 2.1.9__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.
Files changed (27) hide show
  1. {gitlabds-2.1.8 → gitlabds-2.1.9}/PKG-INFO +2 -2
  2. {gitlabds-2.1.8 → gitlabds-2.1.9}/README.md +1 -1
  3. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/memory_optimization.py +3 -5
  4. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/serving_features.py +1 -1
  5. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds.egg-info/PKG-INFO +2 -2
  6. {gitlabds-2.1.8 → gitlabds-2.1.9}/LICENSE +0 -0
  7. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/__init__.py +0 -0
  8. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/baselines.py +0 -0
  9. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/config_generator.py +0 -0
  10. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/dummy.py +0 -0
  11. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/feature_reduction.py +0 -0
  12. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/insights.py +0 -0
  13. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/missing.py +0 -0
  14. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/missing_check.py +0 -0
  15. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/missing_fill.py +0 -0
  16. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/model_evaluator.py +0 -0
  17. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/monitoring_metrics.py +0 -0
  18. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/outliers.py +0 -0
  19. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/split_data.py +0 -0
  20. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds/trends.py +0 -0
  21. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds.egg-info/SOURCES.txt +0 -0
  22. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds.egg-info/dependency_links.txt +0 -0
  23. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds.egg-info/requires.txt +0 -0
  24. {gitlabds-2.1.8 → gitlabds-2.1.9}/gitlabds.egg-info/top_level.txt +0 -0
  25. {gitlabds-2.1.8 → gitlabds-2.1.9}/pyproject.toml +0 -0
  26. {gitlabds-2.1.8 → gitlabds-2.1.9}/setup.cfg +0 -0
  27. {gitlabds-2.1.8 → gitlabds-2.1.9}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlabds
3
- Version: 2.1.8
3
+ Version: 2.1.9
4
4
  Summary: GitLab Data Science Tools
5
5
  Author-email: Kevin Dietz <kdietz@gitlab.com>
6
6
  License-Expression: MIT
@@ -31,7 +31,7 @@ Requires-Dist: snowflake-ml-python; extra == "feature-store"
31
31
  Dynamic: license-file
32
32
 
33
33
  [![PyPI version](https://badge.fury.io/py/gitlabds.svg)](https://badge.fury.io/py/gitlabds)
34
- [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
34
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
35
35
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
36
36
 
37
37
  # gitlabds
@@ -1,5 +1,5 @@
1
1
  [![PyPI version](https://badge.fury.io/py/gitlabds.svg)](https://badge.fury.io/py/gitlabds)
2
- [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
2
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
4
 
5
5
  # gitlabds
@@ -809,11 +809,9 @@ def memory_optimization(
809
809
  if sparsity > sparse_threshold:
810
810
  try:
811
811
  if isinstance(df_result, pd.Series):
812
- df_result = pd.Series.sparse.from_dense(
813
- df_result, fill_value=fill_value
814
- )
815
- else:
816
- df_result[col] = pd.Series.sparse.from_dense(
812
+
813
+ df_result = pd.arrays.SparseArray(df_result, fill_value=fill_value)
814
+ df_result[col] = pd.arrays.SparseArray(
817
815
  df_result[col], fill_value=fill_value
818
816
  )
819
817
 
@@ -367,7 +367,7 @@ def serve_features(
367
367
  print(f"[{session_id}] Starting retrieve_feature_values (this may take a while)...")
368
368
  combined_features = feature_store.retrieve_feature_values(**retrieve_kwargs)
369
369
 
370
- combined_features = combined_features.to_pandas()
370
+ combined_features = combined_features.to_arrow().to_pandas()
371
371
  combined_features.columns = map(str.lower, combined_features.columns)
372
372
 
373
373
  print(f"✅ [{session_id}] Feature serving completed successfully")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlabds
3
- Version: 2.1.8
3
+ Version: 2.1.9
4
4
  Summary: GitLab Data Science Tools
5
5
  Author-email: Kevin Dietz <kdietz@gitlab.com>
6
6
  License-Expression: MIT
@@ -31,7 +31,7 @@ Requires-Dist: snowflake-ml-python; extra == "feature-store"
31
31
  Dynamic: license-file
32
32
 
33
33
  [![PyPI version](https://badge.fury.io/py/gitlabds.svg)](https://badge.fury.io/py/gitlabds)
34
- [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
34
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
35
35
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
36
36
 
37
37
  # gitlabds
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