I'm working on a project in pandas on python. I receive as input a .csv file like this:
Name   Timestamp       Data
A1       259           [1.1,1.0,0.1]
A1       260           [-0.1,1.2,0.3]
A1       261           [0.1,0.2,-0.3]
...
A1       14895         [1.4,0.3,1.8]
...      
A2       278           [-1.1,1.2,0.4]
A2       353           [-0.1,1.2,0.3]
A2       409           [-0.1,1.2,0.3]
...
A2       14900         [-0.1,1.2,0.3]
...
A1140    107           [-0.5,-1.0,-1.0]
A1140    107           [0.6,0.1,0.3]
A1140    114           [-1.1,-1.2,0.3] 
... 
A1140    14995         [-1,1.2,0.4]
I've 1140+ names and hundreds/thousands of data for each name. Data was recorded at 200 Hz and I think that the timestamp numbers indicates milliseconds, though I' m not sure, i don't have access to this information. I've to resample to 50 Hz frequency.
How can I do this? Do I need to convert Timestamp into actual seconds and then use the .resample() function with 0.25s? And should i use a .groupby["Name"] function?
Thank you in advance!
 
    