读入两列数据
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 20 14:59:36 2021
@author: Machi
"""
import pandas as pd
# Load data
df = pd.read_csv('1.1.csv')
# Print all
print(df)
# Print x column
print(df['x'])
# Print y column
print(df['y'])
看看效果图 这是打印全部
这是打印x列
这是打印y列