标签:and color nump encoding imp span oat style nbsp
import pandas as pd import numpy as np df = pd.read_csv(‘000917.csv‘,encoding=‘gbk‘) df = df[df[‘涨跌幅‘]!=‘None‘] df[‘涨跌幅‘] = df[‘涨跌幅‘].astype(np.float64) print(df[df[‘涨跌幅‘]>5])
标签:and color nump encoding imp span oat style nbsp
原文地址:http://www.cnblogs.com/wumac/p/6053602.html