Task: Convert Pandas DataFrame to List of Dictionaries
Task: Convert Pandas DataFrame to List of Dictionaries: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that converts a Pandas DataFrame into a list of dictionaries, where each dictionary represents a row in the DataFrame.
Part of PrimeIntellect/Terminal-Lego-15k.