Примітки для викладача

General Notes


It’s all right not to get through the whole lesson.
This lesson is designed for people who have never programmed before, but any given class may include people with a wide range of prior experience. We have therefore included enough material to fill a full day if need be, but expect that many offerings will only get as far as the introduction to Pandas.
Don’t tell people to Google things.
One of the goals of this lesson is to help novices build a workable mental model of how programming works. Until they have that model, they will not know what to search for or how to recognize a helpful answer. Пропозиція пошукати відповідь в Google може створити враження, що ми вважаємо їх проблему тривіальною. (Однак, якщо учні раніше достатньо займались програмуванням, щоб подолати ці проблеми, підштовхування їх шукати рішення в Інтернеті може допомогти їм зміцнити своє розуміння.) It’s also worth quoting Trevor King’s comment about online search: “If you find anything, other folks were confused enough to bother with a blog or Stack Overflow post, so it’s probably not trivial.”

Запуск та завершення роботи


Змінні та присвоєння


Типи даних та їх перетворення


Вбудовані функції та довідка


Ранкова кава


Бібліотеки


Зчитування табличних даних у датафрейми


Фрейми даних Pandas


Побудова графіків


Ланч


Списки


For Loops


Умовні оператори


Looping Over Data Sets


Післяобідня кава


Writing Functions


Область видимості змінної


Стиль програмування


Wrap-Up


Feedback