* This tutorial was written by referring to opentutorials.org.
- Shell: interacts directly with python, Interactive mode
- File: multiple instructions stored in advance
ex) students = ["egoing", "sori", "maru"]
ex) print('Hello world')
ex) print(1)
-
You can find the manual here
-
Pay attention to Tutorial, Library Reference, Language Reference
-
Language Reference is not for beginners
-
-
Use Google
ex) name = "egoing"
- print()
- debugger
- Python built-in debugger isn't useful
- Use the debugger provided by editors
- VSCode debugger
- Red circles are break point
- Yellow Pentagon indicates the line of code to be executed
ex) name = input('name : ')
Values for the variables can be entered directly from the user.
standard library: python built-in module
package: Software made available to other developers
pypi.org: Python package index, a database that allows you to store and search packages made of Python.
Pandas: One of the packages used for data analysis, type "pip install pandas" to install.
- pip: Software that helps you easily install packages stored on your computer at pypi.org site using pip.
how to install pandas in VSCode
python3 -m pip install pandas
- Beware of the path setting
CSV: Comma Separated Value
- head shows the first ( ) lines
- describe analyze by columns