随笔分类 - python学习
记录python的学习
摘要:读取数据 用 pd.read_csv 来读取csv数据,目前对我来说已经够用了,用 index_col 指定索引。 DataFrame 构建 可以直接从 csv 读取数据,也可以用 Series 来构建, 或者用 dict 来构建, 这个自由度还是很大的。 DateFrame 操作 以titanic
阅读全文
摘要:import numpy as np # Save dictionary = {'hello':'world'} np.save('my_file.npy', dictionary) # Load read_dictionary = np.load('my_file.npy',allow_pickl
阅读全文
摘要:安装python插件 打开设置,搜索Python: Terminal: Execute in File Dir, 勾选上 打开launch.json ,添加"cwd": "${fileDirname}"
阅读全文
摘要:转载:https://www.cnblogs.com/arlenlin/p/14197547.html 转载:如果 SSH 被中断,Linux screen 工具如何拯救你的任务以及理智 - Linux中国的文章 - 知乎 https://zhuanlan.zhihu.com/p/104059175
阅读全文