文章分类

解决windows下WslRegisterDistribution failed with error: 0x80070050的问题

最近升级了老电脑的windows10的系统,发现wsl2里面安装的ubuntu20.04不能在windows terminal正常启动了(我之前是把ubuntu20.04作为默认启动终端的。) 涉及报

python读取hive数据库

在大数据工作中经常碰到需要将hive查询数据导入到mysql的需求,常见的方法主要有两种,一是impala,另一种则是pyhive。 一、pyhive方式连接hive数据库 首先是配置相关的环境及使用

tf.reshape(tensor, shape, name=None)改变tensor的形状

tf.reshape(tensor, shape, name=None) Given `tensor`, this operation returns a tensor that has the sa

linux查看redis的主从,linux中redis的主从

主从模式的概念请自行百度! 主服务器只执行写操作。从服务器执行读操作。 主服务器中的数据会同步到从服务器中。 在从服务器中打开redis目录中的redis.conf文件 vim /usr/local/

python数据分析与挖掘实战————银行分控模型(几种算法模型的比较)

一、神经网络算法: 1import pandas as pd 2from keras.modelsimport Sequential 3from keras.layers.coreimport D

python输出计算结果_Python学习–02输入和输出、运算符

命令行输入 x = input("Please input x:") y = raw_input("Please input x:") 使用input和raw_input都可以读取控制台的输入,但是i