- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 mac hadoop磁盘空间不足 log-dirs usable space is below configured utilization percentage/no more usable spa
log-dirs usable space is below configured utilization percentage/no more usable space显示空间不足命令行输入df -h显示占用空间超过90%所以需要清理空间但是这里已经空这么大空间df -h显示占用空间依然是92%结果是mac的time machine会占用空间这里显示可清除字样 打开启动转换助理 即可清除掉完毕...
2020-07-13 13:27:02
1166
1
原创 pandas_profiling
github链接pandas_profilingextends the pandas DataFrame with df.profile_report()for quick data analysis.结果由以下部分组成Type inferenceEssentials: type, unique values, missing valuesQuantile statistics 最小值, Q1, median, Q3, 最大值, range,四分位数Descriptive statistics
2020-06-26 22:49:14
500
原创 opencv error: (-215:Assertion failed) npoints > 0 in function 'drawContours'
binary,contours = cv2.findContours(thresh, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)draw_img = img.copy()res = cv2.drawContours(draw_img, binary, -1, (0, 0, 255), 2)drawContours第二个参数改成binary即可...
2019-11-16 13:50:36
6628
7
原创 爬淘宝
xjb写的 应付爬虫课作业,有误请指出,谢谢项目描述本项目的目的是爬取淘宝指定类目商品的价格、销量、评论数、评论等等。淘宝链接为www.taobao.com#网页分析1.首先打开淘宝网页,在搜索栏输入任意字段,如:手机,会看到如下页面用requests库get一下,看能得到什么结果 import requests header={'user-agent':'...
2019-11-13 22:17:20
2977
原创 ImportError: libSM.so.6: cannot open shared object file: No such file or directory
Traceback (most recent call last): File "data_generator.py", line 24, in <module> import cv2 File "/usr/local/lib/python3.5/dist-packages/cv2/__init__.py", line 3, in <module> ...
2019-10-23 21:05:28
220
1
原创 Hbase intellij配置流程
一:软件环境hbase 1.3.5indellij 2019.2hadoop 伪分布式创建maven工程Finish修改pom.xml<module type="JAVA_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="tr...
2019-10-15 21:05:49
370
原创 intellij运行hadoop简单实例配置流程
实例代码import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.FileSystem;import org.apache.hadoop.fs.Path;public class abc { public static void main(String[] args) { try ...
2019-10-10 11:49:20
458
原创 module 'tensorflow' has no attribute 'get_default_graph'解决方法
今天在学习tensorflow2的时候 出现module ‘tensorflow’ has no attribute ‘get_default_graph’学习代码from tensorflow import kerasfrom tensorflow.python.keras import backend as kimport tensorflow as tffrom keras.lay...
2019-09-22 17:46:05
17986
5
原创 mac hadoop:WARN util.NativeCodeLoader:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable解决方案引用链接:https://blog.csdn.net/u010003835/article/details/81127984最近上大数...
2019-09-21 01:04:11
263
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人