df-to-dictionary-0.5
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | df-to-dictionary-0.5 |
| نام | df-to-dictionary |
| نسخه کتابخانه | 0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nilesh Shinde |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/df-to-dictionary/ |
| مجوز | - |
Author : Nilesh Shinde
% This module is for convert dataframe to dictionary in river dataset format %
River is the famous online machine learning dictionary in python but it can only support dictionary as a input. For that reason we have to convert dataframe to dictionary.
WHY DataFrame
In this situation you might be thinking whay first we convert other formate to dataframe and then dictionary ,because pandas gives us some amazing feature for data visualization.
For more info
https://pandas.pydata.org/
Function in this module
xdata,ydata = df_to_dictionary(x_data,y_data)
here x_data means the fetures and y_data means the labels of the dataset.
It will returns transformed xdata and ydata
Installation :
Requirements:
pandas
numpy
Installation :
pip install pandas==1.5.2
pip install numpy==1.23.5
Github link
https://github.com/Nileshshinde09/df_to_dictionary
نیازمندی
| مقدار | نام |
|---|---|
| ==1.23.5 | numpy |
| ==1.5.2 | pandas |
| ==2.8.2 | python-dateutil |
| ==2022.6 | pytz |
| ==1.16.0 | six |
نحوه نصب
نصب پکیج whl df-to-dictionary-0.5:
pip install df-to-dictionary-0.5.whl
نصب پکیج tar.gz df-to-dictionary-0.5:
pip install df-to-dictionary-0.5.tar.gz