From 92516ff4f0711f9e8086c64b86e3c53357a9695c Mon Sep 17 00:00:00 2001 From: spbeach46 Date: Sat, 23 Jan 2021 01:38:04 -0700 Subject: [PATCH] adding gameplan for constructing two csv file from pandas after shopping api call; for main data and training set --- ebay_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebay_api.py b/ebay_api.py index 2ceeffb..79b8ba1 100644 --- a/ebay_api.py +++ b/ebay_api.py @@ -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():