Articles → Pandas → Read_Html Function In Pandas

Read_Html Function In Pandas






Purpose





Webpage




Picture showing the webpage with the data in the tabular form
Click to Enlarge


Code


import pandas as pd

table = pd.read_html(
            'https://www.fnb.co.za/Controller?nav=rates.forex.list.ForexRatesList')

table[0]



Output


Picture showing the output of read_html function in pandas
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 10, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250