Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = { "points": [100, 120, 114], "total": [350, 340, 402] } df = pd.DataFrame(data) print(df.rsub(15))
points total 0 -85 -335 1 -105 -325 2 -99 -387