input
df.mean()
output:
a 4.112657e+07
b 1.197258e+00
c 4.172984e+05
d 2.461237e+02
input
df["a"].mean()
(correct) output:
41126569.99462365
type values in "a" col = int
others col have str values
why is this happening