AI & Machine Learning course

Python for AI and Data

Read Python code, work with data using pandas, call language model APIs, and confidently review AI-generated scripts.

16 lessonsabout 2 hours in allBeginnerFree

Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
  • Read and trace basic Python code, interpret errors, and explain how packages and environments are separated. You can inspect, clean, filter, group, and merge tables with pandas, choose suitable charts, and use NumPy arrays. You can make basic language

What you'll learn, lesson by lesson

  1. 1What Python Is Good ForSort tasks into Python, spreadsheet or ready-made tool.
  2. 2Values, Variables and TypesPredict the value after three assignments.
  3. 3Lists and DictionariesPredict the result of an index, a slice and a lookup.
  4. That's a preview. 13 more lessons follow.

    Take all 16 lessons free in the Milo app, with Milo teaching each one.

    Start this course free
  5. 4Conditions and Loops
  6. 5Functions
  7. 6Reading Error Messages
  8. 7Packages and Environments
  9. 8NumPy Arrays
  10. 9Meet the pandas DataFrame
  11. 10Selecting and Changing Rows
  12. 11Cleaning Messy Data
  13. 12Grouping and Merging
  14. 13Charts That Don't Mislead
  15. 14Calling a Language Model
  16. 15Running a Model Over Many Rows
  17. 16Reviewing Code That AI Wrote
Inside the app

Not a video. A tutor who teaches you.

Milo explains each idea of Python for AI and Data out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.

Start free
A Milo lesson: Milo explains an idea and draws it on the blackboard
A quick check in a Milo lesson, answered correctly, with Milo's explanation

More in AI & Machine Learning

Free to learn

This course is free. So is Milo's help planning it.

Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.

Can I really start for free?
Yes. No card needed.
Can I cancel a membership any time?
Yes, from your account. You keep it until the end of the month you paid for.
Where does it work?
In any browser on a phone, tablet or computer. Phone apps are on the way.