Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
【Python】解决AttributeError: ‘xml.etree.ElementTree.Element‘ object has no attribute ‘getchildren‘问题
getchildren在python 3 9中已经被移除 如果项目中使用会显示错误 AttributeError xml etree ElementTree Element object has no attribute getchildr
python
python线性拟合、不确定性
1 线性回归 可以直接调用sklearn中的linear model模块进行线性回归 import numpy as np from sklearn linear model import LinearRegression model Li
机器学习
python
python
回归
机器学习
jupyter notebook 主题
一 安装jupyter 主题 pip install upgrade jupyterthemes 二 jt l jt l 现在可以选择一个主题名执行以下代码换皮肤了 例如 jt t chesterish T N 这就表示选择了chester
python
【python】Ray集群搭建
目录 准备条件 基于linux环境 Ray简介 Ray的优势 Ray工作原理 安装Ray 在所有节点上安装 部署Ray集群 1 部署head节点 2 部署worker节点 例子 python Ray集群 参考文献 准备条件 基于linux环
python
python ray
分布式并行框架
Ray集群
Python 正则表达式验证IPv4地址
1 Simple regex to check for an IP address 0 9 1 3 3 0 9 1 3 2 Accurate regex to check for an IP address allowing leading
python
正则表达式
python报错
一 TypeError list indices must be integers or slices not str 暂无影响 未解决 二 Keyerror 解决方案 https blog csdn net jacke121 articl
python
python
后端
生成服从正态分布的随机数
1 matlab中normrnd函数 功能 生成服从正态分布的随机数 语法 R normrnd MU SIGMA R normrnd MU SIGMA m R normrnd MU SIGMA m n 说 明 R normrnd MU SI
python
MATLAB
矩阵
机器学习
线性代数
python3.6 print同一行覆盖打印
1 python3 6中 print同一行覆盖打印可以这样使用 通用 print r object end flush True 例子 print r loss G 0 3f format loss G item end flush Tru
python
python
print
覆盖打印
Python之configparser模块详解和使用
目录 1 configparser安装 2 configparser简介 3 表示方法 4 configparser详细使用 4 1 对象初始化 4 2 获取所有的sections 4 3 获取所有的sections对应的options 4
python
测试工具
单元测试
压力测试
pycharm运行不报错,用cmd运行code报错
1 pycharm运行不报错 用cmd运行code报错 可以参考 Pycharm里面都能运行 为什么在CMD中就不能运行 解决方法 将要执行的模块或者 py文件加入环境变量中 import sys sys path append 需要导入的
python
pycharm
python
IDE
python读取HDF5数据
本文主要利用python 读取HDF5数据 如icesat2 atl08数据 转载 https hdfeos org zoo index openICESat2 Examples php ATL 输入数据 atl08 HDF5格式数据 功能
python
卫星测高
python批量读取Excel文件
将同一个文件夹下的xlsx文件读取 import os import pandas as pd path r path of file for i in os listdir path df pd read excel os path jo
python
办公
python
开发语言
后端
«
1
2
3
4
5
6