Feb-12-2021, 06:56 AM
(This post was last modified: Feb-12-2021, 06:56 AM by detlefschmitt.)
I now also figured out how to combine two data sets. See below script. With that my questions regarding exporting stock ticker symbols and combining data sets are answered.
This post can be marked as: Solved
This post can be marked as: Solved
import pandas as pd from yahoo_fin import stock_info as si data1 = si.tickers_nasdaq() data2 = si.tickers_other() df1 = pd.DataFrame(data1) df2 = pd.DataFrame(data2) df = pd.concat([df1, df2]) df.to_csv('Combined.csv')