pip install pandas python import pandas as pd df = pd.DataFrame(data) print(filtered_data) print(sorted_data)