[
Natty |
Sentinel ]
python Link to Post BodyLength: 227
Rep: 1
Low Length;
No Code Block;
Non English Post - mt;
Low Rep;
Body Starts With: c\_df=b\_df.groupby('time').agg(first\_x=('x', lambda x: list(x)\[0\]),last\_x=('x', lambda x: list(x)\[-1\]),=('y', lambda x: list(x)\[0\]),\
4.5;