kaizenstat 0.2.1__tar.gz → 0.2.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kaizenstat
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Zero-friction AutoML + Data Cleaning Toolkit
5
5
  Author: Masuddar Rahman
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  from .core import KaizenStat, DataEngine, detect_device
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.2"
4
4
 
5
5
  __all__ = ["KaizenStat", "DataEngine", "detect_device", "__version__"]
6
6
 
@@ -650,6 +650,11 @@ class KaizenStat:
650
650
  """
651
651
  df = DataEngine.load(data)
652
652
  data_path = data if isinstance(data, str) else "data.csv"
653
+ if isinstance(data, pd.DataFrame):
654
+ try:
655
+ data.to_csv("data.csv", index=False)
656
+ except Exception:
657
+ pass
653
658
 
654
659
  # Run pipeline to determine best model
655
660
  df_clean = KaizenStat.heal(df, target)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kaizenstat
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Zero-friction AutoML + Data Cleaning Toolkit
5
5
  Author: Masuddar Rahman
6
6
  Requires-Python: >=3.8
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="kaizenstat",
5
- version="0.2.1",
5
+ version="0.2.2",
6
6
  author="Masuddar Rahman",
7
7
  description="Zero-friction AutoML + Data Cleaning Toolkit",
8
8
  long_description=open("README.md").read() if open("README.md") else "",
File without changes
File without changes
File without changes
File without changes