I need to import excel file from the link. I tried to do it with
filedlurl = 'https://www.nordpoolgroup.com/48d3ac/globalassets/marketdata-excel-files/exchange-ee-connections_2021_daily.xls'
df = pd.read_excel(filedlurl, skiprows=2)
But the error was XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b'Exchange'
then I found the following way from using Pandas to read in excel file from URL - XLRDError
df = pd.read_csv('https://www.nordpoolgroup.com/48d3ac/globalassets/marketdata-excel-files/exchange-ee-connections_2021_daily.xls',
#sep='\t',
#parse_dates=[0],
names=['a','b','c','d','e','f'],
skiprows=2)
df
Here is also a strange output. How can I get the following table as when manually download from the web?
