When importing time series data from yahoo using yfinance
whats is the difference between data.head() and data.tail() ?
Hi Omphile,
data.head() displays the first 5 rows of the dataframe. On the other hand, data.tail() displays the last 5 rows of the dataframe. You can refer to this documentation of pandas library for more details.