How to get last row of Pandas DataFrame
Use .iloc[-1]
to get the last row (all columns) of a pandas
DataFrame, for example:
my_dataframe.iloc[-1]
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow