dframeio-0.3.0
توضیحات
Read and write dataframes anywhere.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dframeio-0.3.0 |
| نام | dframeio |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christian Krudewig |
| ایمیل نویسنده | chr1st1ank@krudewig-online.de |
| آدرس صفحه اصلی | https://github.com/chr1st1ank/dataframe-io |
| آدرس اینترنتی | https://pypi.org/project/dframeio/ |
| مجوز | Apache-2.0 |
# dataframe-io
[<img src="https://img.shields.io/pypi/v/dframeio.svg" alt="Release Status">](https://pypi.python.org/pypi/dframeio)
[<img src="https://github.com/chr1st1ank/dataframe-io/actions/workflows/test.yml/badge.svg?branch=main" alt="CI Status">](https://github.com/chr1st1ank/dataframe-io/actions)
[](https://codecov.io/gh/chr1st1ank/dataframe-io)
Read and write dataframes from and to any storage.
* Documentation: <https://chr1st1ank.github.io/dataframe-io/>
* License: Apache-2.0
* Status: Initial development
## Features
Dataframes types supported:
* pandas DataFrame
* Python dictionary
Supported storage backends:
* Parquet files
* PostgreSQL database
More backends will come. Open an [issue](https://github.com/chr1st1ank/dataframe-io/issues)
if you are interested in a particular backend.
Implementation status for reading data:
| Storage | Select columns | Filter rows | Max rows | Sampling | Drop duplicates |
| ------------- | :------------: | :---------: | :------: | :------: | :-------------: |
| Parquet files | ✔️ | ✔️ | ✔️ | ✔️ | ✔ ¹ |
| PostgreSQL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
¹ only for pandas DataFrames
Implementation status for writing data:
| Storage | write append | write replace |
| ------------- | :----------: | :-----------: |
| Parquet files | ✔️ | ✔️ |
| PostgreSQL | ✔️ | ✔️ |
## Installation
```
pip install dframeio
# Including pyarrow to read/write parquet files:
pip install dframeio[parquet]
# Including PostgreSQL support:
pip install dframeio[postgres]
```
Show installed backends:
```
>>> import dframeio
>>> dframeio.backends
[<class 'dframeio.parquet.ParquetBackend'>]
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.0,<2.0 | pandas |
| >=4.0,<7.0) | pyarrow |
| >=3,<4) | psycopg |
| >=0.12.0,<0.13.0 | lark-parser |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7.1,<4.0 | Python |
نحوه نصب
نصب پکیج whl dframeio-0.3.0:
pip install dframeio-0.3.0.whl
نصب پکیج tar.gz dframeio-0.3.0:
pip install dframeio-0.3.0.tar.gz