AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Tables that fit the question: picking rows, wide to long, and files too big for memory

Pick the right rows without losing the missing ones, turn wide report layouts into long ones and back, and handle files too big for memory with chunks, smaller types and tools such as DuckDB and Polars.

Most wrong numbers in a report do not come from a hard calculation. They come from a filter that quietly dropped the missing rows, a pivot that added up the wrong thing, or a file that was loaded in a way that ran out of memory. This course is about those three everyday jobs: choosing the rows, reshaping the table, and coping with size.

The lessons use a small regional retailer. Every code box runs in your browser, with tiny tables first so you can see each row, and a made-up large file at the end. All names and figures are made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Take "pandas" first if DataFrames and read_csv are new to you.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min 🔒 AiTeky Pass Selecting, filtering and sorting a DataFrame with loc, masks and query Pick rows and columns by label and by position, combine conditions with and, or and not, find out what a comparison does to missing values before it surprises you, use isin, between and query, and sort by several columns or take the top few.
  2. 02 30 min 🔒 AiTeky Pass Reshaping: melt, pivot, stack and tidy data Turn a report with one column per month into one row per shop and month with melt, spread it back with pivot, see why pivot fails on duplicate entries and what pivot_table does instead, move levels between rows and columns with stack and unstack, and untangle column names that hold two facts.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 35 min 🔒 AiTeky Pass On the job: large data with chunking, Polars and DuckDB Measure what a file really costs in memory, cut it by reading only the columns you need in smaller types, add up a file in chunks and prove the totals match a full read, see how DuckDB and Polars answer the same question without loading everything, and choose between them from the file size and the number of questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in