Published
- 1 min read
how to change dtype object to int
The solution for this is noted below
how to change dtype object to int
Solution
df['purchase'].astype(int)
Try other methods by searching on the site. That is if this doesn’t work
Published
- 1 min read
The solution for this is noted below
df['purchase'].astype(int)
Try other methods by searching on the site. That is if this doesn’t work