AITeky Learn

AiTeky Original Interactive Learning & Practice Beginner

Pandas: work with tables of data

Sort, filter and add up thousands of rows in a few lines. Almost every data job asks for this skill.

Every shop, bank, hospital and app keeps its records in tables: rows and columns, like a register or an Excel sheet. pandas lets you read those tables with Python and answer questions about them in seconds.

You do not need to know coding. We start from the very first line, use everyday examples like a kirana shop's sales notebook, and you run every piece of code right here on this page.

  • Learn lessons explain each idea simply, with small exercises you can try again and again.
  • Industry ready lessons give you the kind of files and questions you will get at work, and the interview questions that go with them.

Locked. Sign up free

Learn

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

  1. 01 20 min Free sample πŸ”’ AiTeky Pass Meet the DataFrame: a table that Python can read Open a shop's sales list in Python, look at it, and count its rows and columns. Your first five lines of pandas.
  2. 03 25 min πŸ”’ AiTeky Pass Ask your table a question: keep only the rows you want Show only the Dairy sales, only the big orders, or both. Filtering is the question you will ask data most often at work.
  3. 04 25 min πŸ”’ AiTeky Pass Do maths on whole columns: totals, sums and averages Work out the money from every sale in one line, then the day's total and the average sale. No calculator, no copying formulas down.
  4. 05 20 min πŸ”’ AiTeky Pass Sort and find the top: best sellers in one line Arrange the table from biggest to smallest and pick the top three, the way a class teacher finds the toppers.
  5. 06 30 min πŸ”’ AiTeky Pass Group and summarise: the total for each category Split the table into piles, add up each pile, and see the whole week in four lines. groupby is the tool behind most business reports.
  6. 08 25 min πŸ”’ AiTeky Pass Work with dates: which day of the week is busiest? Turn date text into real dates, pull out the weekday or the month, and find Mohan's busiest day. Dates are in almost every work file.
  7. 09 30 min πŸ”’ AiTeky Pass Join two tables: put the cost next to each sale and find the profit Mohan's sales are in one file and his buying prices in another. Match them up by item name, work out his real profit, and spot the item with no cost.

Industry ready

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

  1. 02 25 min πŸ”’ AiTeky Pass On the job: your first look at a new data file Your manager sends a file of online orders. Check its size, its gaps and its messy values in five minutes, the way analysts do at work, then practise the interview question that tests it.
  2. 07 30 min πŸ”’ AiTeky Pass On the job: clean a messy file before you count anything Fix city names written three ways, decide what to do with empty cells, and learn the rule every analyst lives by: never invent a number. Ends with the interview question on missing values.
  3. 10 45 min πŸ”’ AiTeky Pass Project: a three-month sales report with a chart Put the whole course together on 137 real-looking sales from three Hyderabad branches. Clean, add up, compare months, draw a chart and write the findings, the way you would at work or in a take-home interview task.

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