摘要:
# matplotlib 画图工具 import matplotlib.pyplot as plt import pandas as pd import numpy as np from pandas.core.series import Series # 自定义数据 X = Series(np.a 阅读全文
摘要:
# 常用库numpyimport numpy as np array1 = np.array([1,2,3,4]) print(array1) # [1 2 3 4] array2 = np.array([ [1,2,6,9], [3,4,8,9], [3,5,9,9], [3,5,7,9], ]) print(array2) """ [[1 2] [3 4]] """ print(array1. 阅读全文
摘要:
# pandas 数据预处理 基于numpy # 读取csv文件(逗号隔开的文件) import pandas,os,numpy as np path = r"D:\desktop\Workspace\PythonWorkSpace\Machine-Learning\asstes\csv\2019_ 阅读全文