1 year ago

#383914

test-img

Madan

how to change timestamp from lists of lists in python

i have list of lists as

[[Timestamp('2022-04-06 11:56:39.951476'),
  'passed',
  '{"ref_price":44849.6333333333,"category":"by category 2","exe_time":"2022-04-06T12:02:44.836Z"}']]
  

How to change this to

[[Timestamp '2022-04-06 11:56:39.951476' ,
  'passed',
  '{"ref_price":44849.6333333333,"category":"by category 2","exe_time":"2022-04-06T12:02:44.836Z"}']]
  

Basically need to change the timestamp('time') to timestamp 'time'

How to achieve this.

python

list

dataframe

timestamp

list-comprehension

0 Answers

Your Answer

Accepted video resources