ebay-ml-lister/curate.py
2021-04-03 13:09:21 -07:00

19 lines
623 B
Python

import ebay_api
import numpy as np
'''
file used to compile methods from ebay_api.py for curating training data
'''
curate = ebay_api.CurateData()
raw_data = curate.import_raw()
training = curate.to_training(raw_data)
class_training = curate.class_training(training)
nvl_training = curate.nvl_training(training)
dropd = curate.drop_nvl_cols(nvl_training)
# expand_nvlclass(class_training, dropd)
# extracted_df = curate.extract_contents(expanded_dropd) # only extract contents after running expand_nvlclass and returning expanded dropd
# TODO # need to replace expanded df's PictureURL col values with destination urls