fill-dt-data-0.0.7
توضیحات
A tool to fill column values in Pandas
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fill-dt-data-0.0.7 |
| نام | fill-dt-data |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Chris Williams <20cwilliams09@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fill-dt-data/ |
| مجوز | - |
# Fill Datetime Data
This is a simple python script which fills in data using Pandas in Python using the aggregate mean of the data you wish to fill.
Importing should look like:
from fill_dt_data import fill_data
The script requires two columns, one labelled exactly "data" (case sensitive) that contains datetime data in YYYYmmdd format and at least one other column that contains data that you wish to replace.
The function takes in a DataFrame, the name of the column that you wish to fill, and the starting and ending dates for the time frame that you wish to fill. It then uses up to the decade of time surrounding your dates and takes the average value for each day in each month, then fills your dates with those averages.
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas>=1.5.2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl fill-dt-data-0.0.7:
pip install fill-dt-data-0.0.7.whl
نصب پکیج tar.gz fill-dt-data-0.0.7:
pip install fill-dt-data-0.0.7.tar.gz