
Net position grid
hardPandas
Net position grid
hardPremium
About this question
A hard Pandas question from Zerodha data analyst and business analyst interviews about net holdings as a client-by-stock grid. It tests pivot tables in pandas, aggregating signed quantities and filling missing combinations.
The full question, its data and the solution are part of Premium, along with every other question in the library.
- The full question and its datasets
- The editor with instant grading
- A worked solution and common mistakes
Free questions on pandas
Practice the same ground now, at no cost.