Thread: to group successive datasets using pandas in python
hello. have huge gps datasets of form (id,timestamp,longitude,latitude). thisabove example of how data present. have around 990000 records roughly. want this
id timestamp longitude latitude 3 2001-02-02 13:02:01 132.3245 56.2345 3 2001-02-02 13:02:06 132.3245 56.2345 3 ......... same above same above .... .... .... 3 2001-02-02 13:05:01 132.3245 56.2345 3 2001-02-02 13:05:06 132.3246 56.2345
want merge rows of same latitude , longitude values single row. beginner in pandas , cannot use "group by" function group groups occurances want successive occurances grouped.
id timestamp longitude latitude 3 2001-02-02 13:02:01 - 2001-02-02 13:05:01 132.3245 56.2345 3 2001-02-02 13:05:06 132.3246 56.2345
surely appreciated.
thank much..
thread moved programming talk, @ request of op.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk to group successive datasets using pandas in python
Ubuntu
Comments
Post a Comment