大数据开发
会编程的漂亮小姐姐
所有的高薪,背后都是玩命的付出和不懈的坚持,这也是为什么会有这样的现象:越厉害的人,反而越努力。切记,别用今天的安逸换来一辈子的艰难,这是天底下最赔本的买卖。
展开
-
Exception: Java gateway process exited before sending its port number
Exception: Java gateway process exited before sending its port number原创 2018-11-12 23:08:09 · 2626 阅读 · 1 评论 -
pandas去重
1.按照name将test.csv出重test.csvname,url1,2221,3332,222import pandas as pddf = pd.read_csv('test.csv',encoding='gbk')# print(df.head(1))new_df = df.drop_duplicates(subset='name',keep='first',inpl...原创 2018-12-11 14:06:34 · 1457 阅读 · 0 评论 -
pandas合并表格
import pandas as pd# 依次读取多个相同结构的Excel文件并创建DataFramedfs = []#pd.read_csv读取csv文件,如果读取Excel就用pd.read_excelfor fn in ('baicheng.csv', 'baishan.csv', 'changchun.csv', 'jinlin.csv', 'liaoyuan.csv', 'sip...原创 2018-12-12 10:31:25 · 4038 阅读 · 0 评论