I have a text file that has the following structure
"ts": "2021-01-29T00:06:46.929363"
"from": "text"
"to": "text"
"body": "text"
The txt file is quite large.
How can I create a dataframe with the following structure
ts | from | to | body |
---|---|---|---|
timestamp | text | text | text |
timestamp | text | text | text |
timestamp | text | text | text |
timestamp | text | text | text |
timestamp | text | text | text |
Any help is much appreciated!