driscoll42 / ebayMarketAnalyzer

Scrape all eBay sold listings to determine average/median pricing, plot listings over time with trend lines, and extract to excel
195 stars 26 forks source link

Assign the query to the item name #45

Closed driscoll42 closed 3 years ago

driscoll42 commented 3 years ago

Is your feature request related to a problem? Please describe. Currently to make the ebay_seller_plot the code requires, for example:

df_5600X = df_5600x.assign(item='5600X') df_5800X = df_5800x.assign(item='5800X') df_5900X = df_5900x.assign(item='5900X') df_5950X = df_5950x.assign(item='5950X')

Describe the solution you'd like The text is the same as the query and should just be part of the process of creating the df that the query, with anything "-XT" for instance removed, assigned as the item val. This should be after the df is saved to an excel file though.