Data ScienceLesson 5Free preview
DS Python
This lesson is part of Data Science · All levels
Summary
Python has become a major language in data science because of its simple syntax and its highly comprehensive library ecosystem, from pandas, NumPy, to scikit-learn. Interactive interpreters make it easy to explore data line by line. Data structures such as lists and dictionaries become common containers for storing processed results.
Key points
- Interactive execution: run `python` or `python3` in the terminal.
- Basic type: int, float, str, bool; the type() function checks the type.
- The list is mutable and can store mixed data.
- Popular library: pandas (table), NumPy (numeric), Matplotlib (graphics) and other public libraries.
- The len() function calculates the number of elements in a collection or string character.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.