HF RL Explorer

Task: Convert List of Dictionaries to a Pandas DataFrame

Task: Convert List of Dictionaries to a Pandas DataFrame: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that converts a list of dictionaries into a pandas DataFrame. The dictionaries in the list may have different keys, and the resulting DataFrame should handle…

The task

You need to write a Python script that converts a list of dictionaries into a pandas DataFrame. The dictionaries in the list may have different keys, and the resulting DataFrame should handle missing values appropriately by filling them with `NaN`.

Part of PrimeIntellect/Terminal-Lego-15k.