Task: Get the Last N Rows of a Pandas DataFrame
Task: Get the Last N Rows of a Pandas DataFrame: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that reads a CSV file containing stock data into a pandas DataFrame and extracts the last 3 rows of the DataFrame. The script should save the resulting rows to an output…
Part of PrimeIntellect/Terminal-Lego-15k.