I am using the following initial list
my_list = [\'object1\',\'object2\', \'obj3\', \'oob\', \'object3\', \'obj1\', \'obj2\']
to create a datafra