adding gameplan for constructing two csv file from pandas after shopping api call; for main data and training set

This commit is contained in:
spbeach46 2021-01-23 01:38:04 -07:00
parent fd6fd04ecd
commit 92516ff4f0

View File

@ -191,6 +191,9 @@ class CurateData:
to_json = json.dumps(data)
raw_df = pd.read_json(to_json)
return raw_df
# TODO You will have to mess around more with pandas df to find a better solution to creating your csv file: i.e., create dataframe from from instances, run through process to customize your df
# for final training set for your ml model training. Contemplate on the future... you want ability to update main csv AND training csv; one for updating raw data instances from search queries, and
# the other for updating your training set.
def main():