1. CSV 1.1. read_csv pandas.read_csv(filepath_or_buffer, sep=',') filepath_or_buffer:文件路径 usecols:列表,指定读取的列名 # 读取文件,并指定只获取open和close这两列 data = pd.read ...
分类:
其他好文 时间:
2021-05-04 16:03:35
阅读次数:
0
import os # os.mkdir("n1") # 创建目录 # 创建文件 # with open('1.txt',mode='w') as file: # file.write('11111') # os.mknod("n1.txt") # 创建文件,windows上面不支持,linux中支 ...
分类:
编程语言 时间:
2021-05-04 15:43:42
阅读次数:
0
#!/bin/bash while read linedo echo $line txt=`echo $line |awk -F' ' '{print $1}'` id=`echo $line|awk -F' ' '{print $3}'` echo $txt echo $id sed "s/ws2 ...
分类:
系统相关 时间:
2021-05-03 12:39:24
阅读次数:
0
adb连接安卓设备失败failed to start daemon Reference:https://blog.csdn.net/whshuo2010/article/details/51094495?locationNum=8 背景 连接设备后,使用adb devices命令查看目前连接的设备, ...
分类:
移动开发 时间:
2021-05-03 11:40:13
阅读次数:
0
The object 'DF__*' is dependent on column '*' - Changing int to double Try this: Remove the constraint DF_Movies_Rating__48CFD27E before changing your ...
分类:
其他好文 时间:
2021-04-30 12:45:29
阅读次数:
0
背景:需要使用pyhanlp来解决提取关键词的工作(并且支持在win7上面使用) 环境要求很高啊 先说报错 C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-u617cfx3\jpype1\setup.py:173: FeatureNotice: Tu ...
分类:
其他好文 时间:
2021-04-30 12:07:34
阅读次数:
0
from wordcloud import WordCloudfrom scipy.misc import imreadimport matplotlib.pyplot as pltimport jieba def read_deal_text(): with open("ciyun.txt","r ...
分类:
其他好文 时间:
2021-04-29 12:18:48
阅读次数:
0
刚体就是 "刚性物体",它在运动过程中,内部各质点间的相对位置不会改变,也即 每两个质点间的距离 保持不变 假设刚体内任意两个质点,坐标分别为 $(x_1, y_1, z_1)$ 和 $(x_2, y_2, z_2)$,则在刚体运动过程中,这两个质点满足如下条件: $\quad \left( (x_ ...
分类:
其他好文 时间:
2021-04-29 12:08:59
阅读次数:
0
from PIL import Image import wordcloud import numpy as np import matplotlib.pyplot as plt import jieba #文本处理 def f(): with open('停用词.txt','r',encoding ...
分类:
其他好文 时间:
2021-04-28 12:10:50
阅读次数:
0
from PIL import Image import wordcloud import numpy as np import matplotlib.pyplot as plt import jieba #文本处理 def f(): with open('停用词.txt','r',encoding ...
分类:
其他好文 时间:
2021-04-28 12:10:30
阅读次数:
0