Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right.
Article directory
Preface
Record some common Windows usage tips and instructions
提示:以下是本篇文章正文内容,下面案例可供参考
1. Quickly set up the system
1. Win+R uses the run window
control Panel
- sysdm.cpl
system-data-management.control panel item
sysdm.cpl allows us to enter the system properties interface. Generally, we use this interface to modify environment variables .
computer management
- compmgmt.msc
computer-management.Microsoft Snap-in Control
compmgmt.msc allows us to enter the computer management interface. We usually configure computer equipment here, such as partitioning disks , starting services , and checking the status of each device .
2. Others
1. Import the 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
2. Read 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.
Summarize
Tip: Here is a summary of the article:
For example: The above is what we will talk about today. This article only briefly introduces the use of pandas, and pandas provides a large number of functions and methods that allow us to process data quickly and conveniently.