How does Python add a file by field and find the mean?

there is a text file as follows:
clipboard.png

user_id is the time represented by the user id,t (each user has data), x and y representing coordinates for a total of 48 times from 1 to 48. Now I want to get the mean value of coordinate XMagol y by adding 48 time data corresponding to different users according to user_id. I would like to ask how to achieve it with Pandas. If you are not familiar with it, you can tell me if you are familiar with it. Thank you!

Jul.19,2021

import pandas as pd

df = pd.read_csv(...)

res = df.groupby("t").agg({"x": "mean", "y":"mean"}).reset_index()
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3638e-2c00d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3638e-2c00d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?