SpinTheMic
Pro

Interview practice question

Analysing 50 GB of logs on a laptop

Data Analyst · Python and Pandas · Experienced

You need to analyse 50 GB of compressed log files on a laptop. How would you approach it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Don't load into pandas.
  • DuckDB SQL directly over files (glob).
  • Polars lazy scan with streaming.
  • Convert to partitioned Parquet once.
  • Aggregate early, then pandas for results.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics