Get your own Python server Result Size: 625 x 565
x
 
import pandas as pd
data = {
  "points": [100, 120, 114],
  "total": [350, 340, 402]
}
df = pd.DataFrame(data)
print(df.rtruediv(10))
       points     total
  0  0.100000  0.028571
  1  0.083333  0.029412
  2  0.087719  0.024876