I need help...I'm trying to merge tables from different sites.
I succeeded to extract each tables what I want, but I can't merge them into one.. I used 'for~~in' but failed.
[my goal] This image is what I'm trying to make. I'm really new to coding and this community, sorry if the question seems bad.
Thanks for reading Sincerely, KB
import pandas as pd
ticker = '005930' #'139480'
table = pd.read_html('http://comp.fnguide.com/SVO2/ASP/SVD_Main.asp?pGB=1&gicode=A'+str(ticker)+'&cID=&MenuYn=Y&ReportGB=&NewMenuID=Y&stkGb=701')
report1 = table[10]
report2 = report1.loc[[0, 1, 3, 17]]
report2
#for tickers in ticker:
# url=print('http://comp.fnguide.com/SVO2/ASP/SVD_Main.asp?pGB=1&gicode=A'+str(ticker)+'&cID=&MenuYn=Y&ReportGB=&NewMenuID=Y&stkGb=701')