Python数据处理
小耗叽
wx公众号:小耗叽学SAS
展开
-
[Python_1: numpy]
Numpy 基本操作,持续更新... 1.导入numpy 包 import numpy as np 2.建立array 查看数据类型 x1 = np.array([1,2,3,4]) x1.dtype #查看类型,数值型 注意,当数据中混有多种数据类型时,会识别为字符型: x2 = np.array([ [1,2,3,'4'], ...原创 2018-11-16 19:20:11 · 159 阅读 · 0 评论 -
[python_2: pandas]
Use of pandas for dataframe first : import the package to be used: import pandas as pd import numpy as np read csv file into python environment data1 = pd.read_csv("data1.csv") overview the st...原创 2018-11-27 19:07:34 · 195 阅读 · 0 评论