Linked Questions

Popular Questions

how to convert lists of list to particular dataframe in python

Asked by At

here is my list , i want to convert it into a Dataframe

list =[["32:31",1,56],
      ["25:31",2,78],
      ["08:31",3,3],
      ["28:41",4,98]]

can we convert this list to Dataframe like -: (i want to fetch third element only)

   a
  56
  78
   3
  98

i tried df = pd.DataFrame(list) with some condition but it didn't work out

please help me

thanks

Related Questions