Metadata-Version: 2.1
Name: fill_dt_data
Version: 0.0.4
Summary: A tool to fill column values in Pandas
Project-URL: Homepage, https://github.com/C-Williams/spiced_academy/blob/main/week_7_working/fill_dt_data.py
Project-URL: Bug Tracker, https://github.com/C-Williams/spiced_academy/issues
Author-email: Chris Williams <20cwilliams09@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: pandas>=1.5.2
Description-Content-Type: text/markdown

# 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.