import pandas as pd
from matplotlib import pyplot as plt
csv_file_name = "C:\\Users\\dgd71\\Desktop\\datas.csv"
def you_want_matrix(start,end,begin,stop): #自定义一个获取CSV矩阵的函数
matrix = df_my_data.iloc[start:end,begin:stop]
print(matrix)
def scatter_diagram(line,row,color,marker): #自定义一个画散点图的函数
x = df_my_data[line] # pandas DataFrame 中的取列的方法
y = df_my_data[row] # pandas DataFrame 中的取列的方法
plt.xlabel("Name") #给x轴命名
plt.ylabel("StudyGarde") #y轴命名
plt.title("StudyTestPicture") #给散点图命名
plt.xlim([0, 100]) #x轴长度
plt.ylim([0, 100])
plt.xticks(range(0, 101, 5)) #x轴划分刻度
plt.scatter(x, y, c=color, marker=marker, linewidths=1) #散点图函数的运用
plt.show()
def cake_picture (row): #自定义一个画饼图的函数
a = []
b = []
c = []
d =