Articles → Pandas → head() function in pandas

head() function in pandas






Purpose





Example


import pandas as pd

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

table[1].head(10)



Output



Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250