# Python for Data Science and AI (EP2): Self-Paced Online Course

Source page: https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep2
Thai version of the same page: https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep2?lang=th
All self-paced courses: https://course.beyondcodeacademy.com/self-paced.md
Last updated: 2026-11-30

Level up your Python for data science. Write functions and classes, then use the data science libraries NumPy and pandas to load, clean and explore real data, at your own pace with Bey, our AI learning partner.

## Key facts

- Provider: Beyond Code Academy
- Format: Self-paced online: start any time and study on your own schedule
- Type: Course
- Level: Intermediate
- Recommended ages: 10–18
- Taught in: English
- Topics: Data Science, AI, Python
- Price: ฿4,000 (THB), regular price ฿5,000
- Free trial class: Available
- Course page: https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep2
- Contact: LINE @beyondcode, 02-459-0677, hello@beyondcodeacademy.com

## What you'll learn

- Write functions with parameters and return values
- Build classes with attributes and methods
- Work with NumPy arrays
- Load a CSV file into a pandas DataFrame
- Clean data and handle missing values
- Filter, sort and group data to answer questions

## This course includes

- Lessons on functions, classes, NumPy and pandas
- Unlimited practice exercises
- A project exploring a real dataset
- Bey, our AI learning partner, explains ideas in plain language and helps when a student is stuck, at any hour

## Course content

### Functions

- Defining functions with parameters and return values
- Scope and reusable code

### Classes

- Classes and objects
- Attributes and methods

### NumPy

- NumPy arrays and fast maths on numbers

### pandas

- Series and DataFrames
- Loading data from a CSV file
- Cleaning data and missing values
- Filtering, sorting and grouping

### Project

- Project: explore a real dataset

## Requirements

- Basic Python: variables, if statements, loops, lists and dictionaries (Python for Data Science and AI EP1)

## Description

**Python for Data Science and AI (EP2)** is the second of three episodes. Students first take their Python further with functions and classes, the building blocks of larger programs. Then they meet the data science libraries: NumPy for fast arrays of numbers and pandas for tables of data, which they use to load, clean and explore a real dataset.

Students learn on their own schedule, with Bey, our AI learning partner, ready to help 24/7.

**The series**

1. [EP1](https://course.beyondcodeacademy.com/self-learning/python-for-data-science-and-ai-ep1): basic Python syntax
2. EP2: advanced Python and data science libraries (this course)
3. [EP3](https://course.beyondcodeacademy.com/self-learning/python-for-data-science-and-ai-ep3): data visualization and machine learning models

**How to sign up**

Add us on LINE @beyondcode or call 02-459-0677.

## Who this course is for

- Students who have finished EP1 or already know basic Python
- Students who want to work with real data
- Independent learners who want to study at their own pace

## Frequently asked questions

### What age and level is Python for Data Science and AI (EP2) for?

Python for Data Science and AI (EP2) is an intermediate-level course recommended for ages 10–18.

### How much does Python for Data Science and AI (EP2) cost?

Python for Data Science and AI (EP2) costs ฿4,000 (THB). The regular price is ฿5,000.

### Is Python for Data Science and AI (EP2) self-paced?

Yes. Python for Data Science and AI (EP2) is a self-paced online course. Students start any time and study on their own schedule on Beyond Code Academy's learning platform, code.beyondcodeacademy.com.

### What do I need before starting Python for Data Science and AI (EP2)?

Before starting Python for Data Science and AI (EP2), students need: Basic Python: variables, if statements, loops, lists and dictionaries (Python for Data Science and AI EP1).

### What language is Python for Data Science and AI (EP2) taught in?

Python for Data Science and AI (EP2) is taught in English.

### Can I try Python for Data Science and AI (EP2) before buying?

Yes. Python for Data Science and AI (EP2) has a free trial class. Choose "Free Trial Class" on the course page to start.

### How do I get access to Python for Data Science and AI (EP2) after paying?

Sign up on code.beyondcodeacademy.com, then add LINE @beyondcode and send the email address you signed up with. A teacher approves the account within 1 day, and the student can then log in and start.

## More self-paced courses

- [ACSL Elementary Division](https://course.beyondcodeacademy.com/self-paced/acsl-elementary-division)
- [ACSL Junior Division](https://course.beyondcodeacademy.com/self-paced/acsl-junior-division)
- [ACSL Intermediate Division](https://course.beyondcodeacademy.com/self-paced/acsl-intermediate-division)
- [ACSL Senior Division](https://course.beyondcodeacademy.com/self-paced/acsl-senior-division)
- [Python for Data Science and AI (EP1)](https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep1)
- [Python for Data Science and AI (EP3)](https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep3)
- [Math Fundamentals for AI Research](https://course.beyondcodeacademy.com/self-paced/math-fundamentals-for-ai-research)
- [Neural Network from Scratch](https://course.beyondcodeacademy.com/self-paced/neural-network-from-scratch)
- [Reinforcement Learning](https://course.beyondcodeacademy.com/self-paced/reinforcement-learning)
- [LLM Foundations](https://course.beyondcodeacademy.com/self-paced/llm-foundations)
- [ILO Junior](https://course.beyondcodeacademy.com/self-paced/ilo-junior)
- [ILO Senior](https://course.beyondcodeacademy.com/self-paced/ilo-senior)
- [USACO Pre-Competition Program](https://course.beyondcodeacademy.com/self-paced/usaco-pre-competition)
- [HKICO Scratch](https://course.beyondcodeacademy.com/self-paced/hkico-scratch)
- [HKICO Blockly](https://course.beyondcodeacademy.com/self-paced/hkico-blockly)
- [HKICO Python](https://course.beyondcodeacademy.com/self-paced/hkico-python)
- [USACO Readiness Test](https://course.beyondcodeacademy.com/self-paced/usaco-readiness-test)

---

# Python for Data Science and AI (EP2): คอร์สเรียนออนไลน์ด้วยตัวเอง

หน้านี้เป็นภาษาไทย: https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep2?lang=th

ยกระดับ Python เพื่อ Data Science เขียนฟังก์ชันและคลาส แล้วใช้ไลบรารี NumPy และ pandas โหลด ทำความสะอาด และสำรวจข้อมูลจริง ตามจังหวะของตัวเอง โดยมี Bey ผู้ช่วยการเรียนรู้ AI ช่วยตลอด

## ข้อมูลสำคัญ

- ผู้สอน: Beyond Code Academy
- รูปแบบ: เรียนออนไลน์ด้วยตัวเอง เริ่มเรียนได้ทุกเมื่อและจัดตารางเรียนเองได้
- ประเภท: Course
- ระดับ: Intermediate
- อายุที่แนะนำ: 10–18
- ภาษาที่สอน: ภาษาอังกฤษ
- หัวข้อ: Data Science, AI, Python
- ราคา: ฿4,000 (THB), ราคาปกติ ฿5,000
- คลาสทดลองเรียนฟรี: มี
- หน้าคอร์ส: https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep2?lang=th
- ติดต่อ: LINE @beyondcode, 02-459-0677, hello@beyondcodeacademy.com

## สิ่งที่จะได้เรียนรู้

- เขียนฟังก์ชันที่มีพารามิเตอร์และค่าที่ส่งกลับ
- สร้างคลาสที่มีแอตทริบิวต์และเมธอด
- ใช้อาร์เรย์ของ NumPy
- โหลดไฟล์ CSV เป็น DataFrame ของ pandas
- ทำความสะอาดข้อมูลและจัดการค่าที่หายไป
- กรอง เรียง และจัดกลุ่มข้อมูลเพื่อตอบคำถาม

## คอร์สนี้ประกอบด้วย

- บทเรียนเรื่องฟังก์ชัน คลาส NumPy และ pandas
- แบบฝึกหัดไม่จำกัด
- โปรเจกต์สำรวจชุดข้อมูลจริง
- Bey ผู้ช่วยการเรียนรู้ AI อธิบายเนื้อหาให้เข้าใจง่าย และช่วยเมื่อติดโจทย์ได้ทุกเวลา

## เนื้อหาคอร์ส

### ฟังก์ชัน

- สร้างฟังก์ชันที่มีพารามิเตอร์และค่าที่ส่งกลับ
- ขอบเขตของตัวแปรและโค้ดที่นำกลับมาใช้ซ้ำได้

### คลาส

- คลาสและออบเจกต์
- แอตทริบิวต์และเมธอด

### NumPy

- อาร์เรย์ของ NumPy และการคำนวณตัวเลขที่รวดเร็ว

### pandas

- Series และ DataFrame
- โหลดข้อมูลจากไฟล์ CSV
- ทำความสะอาดข้อมูลและจัดการค่าที่หายไป
- การกรอง การเรียง และการจัดกลุ่ม

### โปรเจกต์

- โปรเจกต์: สำรวจชุดข้อมูลจริง

## พื้นฐานที่ควรมี

- พื้นฐาน Python: ตัวแปร if ลูป ลิสต์ และดิกชันนารี (Python for Data Science and AI EP1)

## รายละเอียดคอร์ส

**Python for Data Science and AI (EP2)** เป็นตอนที่ 2 จากทั้งหมด 3 ตอน นักเรียนจะต่อยอด Python ด้วยฟังก์ชันและคลาส ซึ่งเป็นพื้นฐานของโปรแกรมขนาดใหญ่ จากนั้นจะได้รู้จักไลบรารีสำหรับ Data Science ได้แก่ NumPy สำหรับอาร์เรย์ตัวเลขที่ทำงานเร็ว และ pandas สำหรับข้อมูลแบบตาราง แล้วใช้โหลด ทำความสะอาด และสำรวจชุดข้อมูลจริง

นักเรียนเรียนด้วยตัวเองตามตารางที่สะดวก โดยมี Bey ผู้ช่วยการเรียนรู้ AI พร้อมช่วยตลอด 24 ชั่วโมง

**คอร์สในชุดนี้**

1. [EP1](https://course.beyondcodeacademy.com/self-learning/python-for-data-science-and-ai-ep1): ไวยากรณ์ Python พื้นฐาน
2. EP2: Python ขั้นสูงและไลบรารีสำหรับ Data Science (คอร์สนี้)
3. [EP3](https://course.beyondcodeacademy.com/self-learning/python-for-data-science-and-ai-ep3): การแสดงผลข้อมูลด้วยภาพและโมเดล machine learning

**สมัครเรียน**

แอดไลน์ @beyondcode หรือโทร 02-459-0677

## คอร์สนี้เหมาะกับใคร

- นักเรียนที่เรียน EP1 จบแล้ว หรือมีพื้นฐาน Python อยู่แล้ว
- นักเรียนที่อยากทำงานกับข้อมูลจริง
- นักเรียนที่อยากเรียนด้วยตัวเองตามจังหวะของตัวเอง

## คำถามที่พบบ่อย

### Python for Data Science and AI (EP2) เหมาะกับอายุและระดับไหน

Python for Data Science and AI (EP2) เป็นคอร์สระดับกลาง (Intermediate) แนะนำสำหรับอายุ 10–18 ปี

### Python for Data Science and AI (EP2) ราคาเท่าไร

Python for Data Science and AI (EP2) ราคา ฿4,000 (THB) จากราคาปกติ ฿5,000

### Python for Data Science and AI (EP2) เรียนด้วยตัวเองได้ไหม

ได้ Python for Data Science and AI (EP2) เป็นคอร์สออนไลน์แบบเรียนด้วยตัวเอง เริ่มเรียนได้ทุกเมื่อและจัดตารางเรียนเองได้ บนแพลตฟอร์มการเรียนของ Beyond Code Academy ที่ code.beyondcodeacademy.com

### ต้องมีพื้นฐานอะไรก่อนเรียน Python for Data Science and AI (EP2)

พื้นฐานที่ควรมีก่อนเรียน Python for Data Science and AI (EP2): พื้นฐาน Python: ตัวแปร if ลูป ลิสต์ และดิกชันนารี (Python for Data Science and AI EP1)

### Python for Data Science and AI (EP2) สอนเป็นภาษาอะไร

Python for Data Science and AI (EP2) สอนเป็นภาษาอังกฤษ

### ทดลองเรียน Python for Data Science and AI (EP2) ก่อนซื้อได้ไหม

ได้ Python for Data Science and AI (EP2) มีคลาสทดลองเรียนฟรี กดปุ่ม "ทดลองเรียนฟรี" ในหน้าคอร์สเพื่อเริ่มได้เลย

### ชำระเงินแล้วจะเข้าเรียน Python for Data Science and AI (EP2) ได้อย่างไร

สมัครสมาชิกที่ code.beyondcodeacademy.com จากนั้นแอด LINE @beyondcode แล้วแจ้งอีเมลที่ใช้สมัคร คุณครูจะอนุมัติบัญชีภายใน 1 วัน แล้วเข้าสู่ระบบเพื่อเริ่มได้เลย

## คอร์สเรียนด้วยตัวเองอื่น ๆ

- [ACSL Elementary Division](https://course.beyondcodeacademy.com/self-paced/acsl-elementary-division?lang=th)
- [ACSL Junior Division](https://course.beyondcodeacademy.com/self-paced/acsl-junior-division?lang=th)
- [ACSL Intermediate Division](https://course.beyondcodeacademy.com/self-paced/acsl-intermediate-division?lang=th)
- [ACSL Senior Division](https://course.beyondcodeacademy.com/self-paced/acsl-senior-division?lang=th)
- [Python for Data Science and AI (EP1)](https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep1?lang=th)
- [Python for Data Science and AI (EP3)](https://course.beyondcodeacademy.com/self-paced/python-for-data-science-and-ai-ep3?lang=th)
- [Math Fundamentals for AI Research](https://course.beyondcodeacademy.com/self-paced/math-fundamentals-for-ai-research?lang=th)
- [Neural Network from Scratch](https://course.beyondcodeacademy.com/self-paced/neural-network-from-scratch?lang=th)
- [Reinforcement Learning](https://course.beyondcodeacademy.com/self-paced/reinforcement-learning?lang=th)
- [LLM Foundations](https://course.beyondcodeacademy.com/self-paced/llm-foundations?lang=th)
- [ILO Junior](https://course.beyondcodeacademy.com/self-paced/ilo-junior?lang=th)
- [ILO Senior](https://course.beyondcodeacademy.com/self-paced/ilo-senior?lang=th)
- [USACO Pre-Competition Program](https://course.beyondcodeacademy.com/self-paced/usaco-pre-competition?lang=th)
- [HKICO Scratch](https://course.beyondcodeacademy.com/self-paced/hkico-scratch?lang=th)
- [HKICO Blockly](https://course.beyondcodeacademy.com/self-paced/hkico-blockly?lang=th)
- [HKICO Python](https://course.beyondcodeacademy.com/self-paced/hkico-python?lang=th)
- [USACO Readiness Test](https://course.beyondcodeacademy.com/self-paced/usaco-readiness-test?lang=th)
