dataframe-to-image-0.0.1
توضیحات
Convert Pandas DataFrame to Image
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dataframe-to-image-0.0.1 |
| نام | dataframe-to-image |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Imaad Mohamed Khan |
| ایمیل نویسنده | imaadmkhan1@gmail.com |
| آدرس صفحه اصلی | https://github.com/imaadmkhan1/dataframe_to_image |
| آدرس اینترنتی | https://pypi.org/project/dataframe-to-image/ |
| مجوز | MIT |
# dataframe_to_image
Python package to convert a Pandas DataFrame to a Image that could be used to share dataframe (as an image) in sheets, notes and slides.
Example usage:
```python
import pandas as pd
from dataframe_to_image import dataframe_to_image
#creating the dataframe
df = pd.DataFrame()
df['date'] = ['2021-06-01', '2021-06-02', '2021-06-03']
df['calories'] = [1950, 2100, 1500]
df['sleep hours'] = [9, 7.5, 8.2]
df['gym'] = [True, False, False]
#converting to image
dataframe_to_image.convert(df,visualisation_library='matplotlib')
```

Once you have the image ready, you can right click on the image and click 'Save image as' to save the image of your dataframe (when using matplotlib). For Plotly, you can just click on the camera icon on the top right to save your image.
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
| - | numpy |
| - | matplotlib |
| - | plotly |
نحوه نصب
نصب پکیج whl dataframe-to-image-0.0.1:
pip install dataframe-to-image-0.0.1.whl
نصب پکیج tar.gz dataframe-to-image-0.0.1:
pip install dataframe-to-image-0.0.1.tar.gz