I have a list of lists namely `mylist` as follows.

```
mylist = [[9, ["nuts", "fruits"]], [12, ["france", "italy", "rome", "paris"]], [18, ["cat", "dog", "parrot", "rabbit", "cow"]], [19, ["ebay", "wish"]]]

```

I also have a tsv file namely `myinput` as follows.

```
ID Category
12 ["places", "locations"]
19 ["online", "customer"]
18 ["pets"]
9  ["food"]

```

I want to combine these two with `ID` as follows.

```
my_output = [[9, ["nuts", "fruits"], ["food"]], [12, ["france", "italy", "rome", "paris"], ["places", "locations"]], [18, ["cat", "dog", "parrot", "rabbit", "cow"], ["pets"]], [19, ["ebay", "wish"], ["online", "customer"]]]

```

I was initially thought to convert the tsv file to a list as follows and perform a typical list processing using python.

```
input_data = pd.read_csv("myinput.tsv", header=0, delimiter="\t", quoting=3 )
my_data = input_data.values.tolist()

```

However, I am wondering if it is possible to do the same using pandas.

I am happy to provide more details if needed.