📅  最后修改于: 2022-03-11 14:45:47.786000             🧑  作者: Mango
df = dd.read_parquet('/data/dask/af.pq',columns=['timestamp','gid','uid'])
df.set_index('timestamp',inpalce=True)
df.groupby('gid').apply(lambda x:x.resample('1D').uid.unique(),meta=('uid','object'))