Metadata-Version: 2.4
Name: metta-pandas
Version: 0.9.3
Summary: pandas as a frame library of the MeTTa Python seat
License-Expression: Apache-2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Science/Research
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: pymetta==0.9.3
Requires-Dist: pandas

# metta-pandas

pandas as a frame library of the MeTTa Python seat.

`pymetta` names no third-party library. This package is one row against the `frame` point, and the seat
finds it exactly as it finds a package written by somebody else: through the
`metta.extensions` entry point, loaded at the first dispatch that has no answer
without it, or through `import metta_pandas`, whose module body registers the same
rows.

```sh
pip install metta-pandas          # or: pip install 'pymetta[dataframes]'
```

The frame row declares pandas' native `itertuples(index=False)` extraction.
`frame.metta.into(space, "row")` reads and writes the whole frame in one
transaction. Foreign stores require transactional writes; nested ingestion
also requires provider savepoints. Input and cleanup failures roll back the
load before its transaction commits.

Its tests are in `tests/`, and they run in the workspace suite:

```sh
sh extensions/python/test.sh ext/metta-pandas
```
