Search posts, tags, users, and pages
Often times we have 100+ columns in the dataset and we have to find out how many columns are numeric and ultimately count of the columns numerics = ['int16', 'int32', 'int64', 'float16', 'float32', 'float64'] numeric_df = df.select_dtypes(include=num...
Shreyas Kulkarni
@shreyaskulkarni · India
I build, write, and explore around AI, data, and technology.
I build, write and explore around AI, data, and technology. Sometimes it’s experiments, sometimes it’s just reflections. All of it helps me learn.
Markdown supported · ⌘↵ to post
Marcelo Zárate
This would have saved me a lot of code lines! As a newbie in Pandas, didn't know this. Great.
glad to hear it helped you... thanks 😊
Marcelo Zárate
This would have saved me a lot of code lines! As a newbie in Pandas, didn't know this. Great.