data-science-vi

Học Python cơ bản

This course has been created by Professor Charles Severance from the University of Michigan.

Learn to Program and Analyze Data with Python. Develop programs to gather, clean, analyze, and visualize data.

Link: https://www.py4e.com/lessons

Textbook: PDF / EPUB

Instructions

Chỉ cần hoàn thiện đến bài: Regular Expressions là được. Còn lại là tùy chọn.

Course Materials

  1. Variables, expressions and statements
  2. Conditional Execution
  3. Functions
  4. Loops and Iterations
  5. Strings
  6. Files
  7. Lists
  8. Dictionaries
  9. Tuples
  10. Regular Expressions
  11. Network Programming (Optional)
  12. Using Web Services (Optional)
  13. Object-Oriented Programming (Optional)
  14. Databases (Optional)
  15. Data Visualization (Optional)

Fixes

  1. If you’re doing the BeautifulSoup4 lesson, there is an issue with Python 3.10+ that will give you an error referencing the Collections library. We have a fix for you. We don’t expect you to understand it, just put this in front of your code in the imports block:
import collections
collections.Callable = collections.abc.Callable

from bs4 import BeautifulSoup 

Doing this should fix the compatibility issue and allow your code to run.