Python complete tutorial
  • Python Complete Tutorial
  • About this book
  • What you need to prepare
  • 1️⃣Try python for the first time
    • Install python
    • Hello world!
    • Hello world in a nutshell
    • The first simple python project
    • most useful libraries
    • Recommended websites
  • 2️⃣Data structure and basic operations
    • Python data structure
    • Data structure without hash table
    • Data structure with hash table
    • Variability and address
    • basic python programming
    • basic python programming 2
    • basic python programming 3
    • some additions
    • Fibonacci sequence
    • Judging prime numbers
    • txt/csv file operation
  • 🐍Practice program
    • 🚩fancy print
    • 🚩Remove duplicate elements
    • 🚩Palindrome detection
  • 😎leetcode
    • what is leetcode
  • 3️⃣Data mining and machine learning
    • What is data mining
    • iris data set
    • Mean median mode
    • Harmonic mean
    • Histogram
    • Correlation algorithm
    • Gaussian distribution data set
    • projection
    • PCA
    • MDS
    • Bayesian and Frequentist
    • Data normalization
    • binary SVM
    • One Hot Encoding
    • Multi-class SVM
    • Accuracy and error rate
    • Confusion matrix & Accuracy, Precision, Recall
    • F1 score
    • ROC and AUC
  • 4️⃣big data and data visualization
    • line chart
    • Parallel coordinates
    • Histogram chart
  • 5️⃣Mathematical algorithm and digital signal processing
    • Mathematical constants and basic operations
    • Normal distribution
    • Permutation and combination
    • Bernoulli distribution
    • Chaotic system
  • 6️⃣Classes and design patterns
    • Classes and design patterns
  • 7️⃣Operate the database with python
    • MySQL
      • Install MySQL
      • First try MySQL
      • MySQL Architecture
      • database operations
      • database
  • 8️⃣Cryptography
    • beginning of Cryptography
  • 9️⃣deep learning
    • What is Deep Learning
    • basic
  • 💔algorithm
    • Algorithms and Data Structures
Powered by GitBook
On this page
  • numpy
  • matplotlib
  • pandas
  • sklearn
  • seaborn
  • Statistics
  1. Try python for the first time

most useful libraries

pip install xxx

If you download python, there are some commonly used libraries that can be installed, so as to avoid some inexplicable errors in the future.

The method of installing the library was mentioned before.

First, check the system environment variables and system path when python is installed (if you forget it at the time, you can overwrite the installation again)

After searching cmd in win10, the command prompt will open.

Enter the following code to install these libraries. If your internet speed is slow, you may need to wait for a while.

numpy

numpy is a data processing library, very commonly used, basically every program needs to be used, so installing numpy can be said to be the first step in python programming

pip install numpy

matplotlib

matplotlib is a plotting library for python, which is quite common and must be installed.

pip install matplotlib

pandas

pandas is a very commonly used library, which is also used for data processing and data visualization.

pip install pandas

sklearn

The most commonly used machine learning library.

pip install sklearn

seaborn

If you want your output to look good, then seaborn is the best choice. This library has made many optimizations to the python visual interface.

pip install seaborn

Some database connection libraries are also very commonly used, but they are not used here yet. I am going to explain them in the database chapter.

Statistics

Start time of this page: December 20, 2021

Completion time of this page: December 20, 2021

PreviousThe first simple python projectNextRecommended websites

Last updated 3 years ago

1️⃣
Page cover image