I want all my rows to be converted to their own columns so everything will be in one row in the end. This is how my dataframe looks now:
track time UTM_WGS84.Longitude UTM_WGS84.Latitude
1 1 2015-10-14 23:59:55.711 5.481687 51.43635
2 1 2015-10-14 23:59:55.717 5.481689 51.43635
3 1 2015-10-14 23:59:55.723 5.481689 51.43635
4 1 2015-10-14 23:59:55.730 5.481690 51.43635
5 1 2015-10-14 23:59:55.763 5.481691 51.43635
6 1 2015-10-14 23:59:55.804 5.481691 51.43635
7 1 2015-10-14 23:59:55.840 5.481692 51.43635
8 2 2015-10-14 23:59:55.882 5.481692 51.43635
9 2 2015-10-14 23:59:56.031 5.481693 51.43635
10 2 2015-10-14 23:59:56.041 5.481693 51.43635
11 2 2015-10-14 23:59:56.047 5.481693 51.43635
12 2 2015-10-14 23:59:56.053 5.481694 51.43635
13 3 2015-10-14 23:59:56.081 5.481695 51.43635
14 3 2015-10-14 23:59:56.121 5.481695 51.43635
15 3 2015-10-14 23:59:56.165 5.481695 51.43635
I'm not sure if this is doable but this is what I want the columns to look like:
time1.1 - UTM_WGS84.Longitude1.1 - UTM_WGS84.Latitude1.1 - time1.2 - UTM_WGS84.Longitude1.2 - UTM_WGS84.Latitude1.2 - time2.1 - UTM_WGS84.Longitude2.1 - UTM_WGS84.Latitude2.1
Where the first number is the track and the second number is the row of that track. I know it's a weird request but I'm trying to find a way to give all this data to a machine learning method to recognize walking patterns.
Any ideas on how to do this?