Rich Text Template 4

Article Directory

Foreword
[First Level Directory] Example: 1. What is pandas?
[First Level Directory] Example: Second, use steps
Summary

Preface

Example: With the continuous development of artificial intelligence, the technology of machine learning is becoming more and more important. Many people have started learning machine learning. This article introduces the basic content of machine learning.

[First Level Directory] Example: 1. What is pandas?

Example: pandas is a tool based on NumPy, which was created to solve data analysis tasks.

[First Level Directory] Example: Second, use steps

[Secondary directory] Example: 1. Import library The
code is as follows (example):
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings('ignore')
import ssl
ssl._create_default_https_context = ssl._create_unverified_context

[second-level directory] Example: 2. Read in data The
code is as follows (example):
data = pd.read_csv(
'https://labfile.oss.aliyuncs.com/courses/1283/adult.data.csv ')
print(data.head())
The data requested by the url network used here.

to sum up

Example: The above is what we are going to talk about today. This article only briefly introduces the use of pandas, and pandas provides a large number of functions and methods that enable us to process data quickly and conveniently.

Guess you like

Origin blog.csdn.net/cpongo1/article/details/107985754