atreadw1492 / yahoo_fin

Scrape stock price history from new (Spring 2017) Yahoo Finance layout
MIT License
292 stars 125 forks source link

How to export data into csv file ? #101

Open ningji opened 1 year ago

ningji commented 1 year ago

data = get_data("amzn", start_date = "01/01/2017", end_date = "01/31/2017")

is there a buildin option to save the data into csv file ?

cong-1 commented 1 year ago

not you have it as pandas data frame an then save it with "to_csv"