DS Technical SkillsCoding

Improve Pandas performance by downcasting numerical datatypes and converting object columns to the 'category' type to save memory.

Was asked at

Practice this question with AI

First session is free - no credit card required.

Go Premium

More interviews, more skills, more success.

Practice More Questions

Interview question asked to Data Scientists interviewing at Datadog, Viber, FactSet and other companies. Original question asked: Improve Pandas performance by downcasting numerical datatypes and converting object columns to the 'category' type to save memory..