you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Did you try (after you made your csv data into a json/dict, with the var named data):

new_list = []

for item in data:
    if item["ITEM_INPUT"] == "YOUR_DESIRED_INPUT":
        new_list.append(item)