alex_bn_lee

导航

随笔分类 -  Python Study

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页

Study of Python.
[886] Some useful functions in ArcPy
摘要:Exists: Determines the existence of the specified data object. This function tests for the existence of various data types including feature classes, 阅读全文

posted @ 2023-09-25 15:16 McDelfino 阅读(22) 评论(0) 推荐(0)

[885] How to generate automated tables in Word document with Python
摘要:ref: How to Generate Automated Word Documents with Python ref: docxtpl快速上手使用,数据填入以及循环写入表格 Creating a Template Before you can proceed, you must first c 阅读全文

posted @ 2023-09-22 12:39 McDelfino 阅读(59) 评论(0) 推荐(0)

[884] How to generate automated Word documents by Python
摘要:ref: python-docx ref: How to Generate Automated Word Documents with Python ref: Automating Word Documents from Excel Using Python | ‘docxtpl’ Tutorial 阅读全文

posted @ 2023-09-22 12:20 McDelfino 阅读(53) 评论(0) 推荐(0)

[883] Install Python package using Jupyter Notebook
摘要:In the installation of packages in Jupyter Notebook, I encountered an issue. I installed packages using Command Prompt (CMD), but when I try to import 阅读全文

posted @ 2023-09-22 07:49 McDelfino 阅读(25) 评论(0) 推荐(0)

[881] Import symbology to a feature layer
摘要:Ref: Import symbology to a feature layer The implementation method is different from ArcGIS. The main difference is that tools are embedded in the top 阅读全文

posted @ 2023-09-21 09:38 McDelfino 阅读(12) 评论(0) 推荐(0)

[880] Calculate Field in ArcGIS Pro (with python code)
摘要:Firstly, we should define a function. def IsFlood(join_count): if join_count > 0: return "Yes" else: return "No" Secondly, we should call this functio 阅读全文

posted @ 2023-09-21 09:21 McDelfino 阅读(21) 评论(0) 推荐(0)

[879] Run stand-alone scripts of arcpy
摘要:Ref: Run stand-alone scripts Ref: Export a model to Python plain paste in Windows: shift+ctrl+V How do I run a stand-alone script? In other ArcGIS pro 阅读全文

posted @ 2023-09-20 11:23 McDelfino 阅读(62) 评论(0) 推荐(0)

[878] Records of LandInsight
摘要:1. Arcpy: (1) Table To Excel arcpy.conversion.TableToExcel( Input_Table=r"S:\TRAINING\Bingnan\Default.gdb\LI_CLR_VIC", Output_Excel_File=r"D:\OneDrive 阅读全文

posted @ 2023-09-20 10:54 McDelfino 阅读(11) 评论(0) 推荐(0)

【877】Feature Engineering、correlation coefficient、heatmap
摘要:参考:特征工程中的特征选择 参考:相关性分析、相关系数矩阵热力图 参考:Li's 影像组学视频学习笔记(26)-相关系数热图Heatmap 参考:Correlation Coefficients: Positive, Negative, and Zero 参考:Correlation coeffic 阅读全文

posted @ 2023-09-07 14:11 McDelfino 阅读(54) 评论(0) 推荐(0)

【876】Top 50 matplotlib Visualizations – The Master Plots (with full python code)
摘要:ref: Top 50 matplotlib Visualizations – The Master Plots (with full python code) 阅读全文

posted @ 2023-09-05 08:23 McDelfino 阅读(20) 评论(0) 推荐(0)

【875】numpy复制并扩充维度
摘要:参考:numpy复制并扩充维度 参考:记录 之 numpy扩充某一维度,并重复填充 np.expand_dims():扩充数组的维度,并且制定扩充的维度位置,用axis来指定 repeat():用来复制数组内容在指定的维度上面 transpose():用来转置数组 1.numpy.expand_di 阅读全文

posted @ 2023-09-05 08:14 McDelfino 阅读(2499) 评论(0) 推荐(0)

【873】Python读取NetCDF中的scale_factor和add_offset
摘要:参考:python中scale的用法_在netCDF4和Python中使用scale_factor和add_offset的示例? 参考代码: import netCDF4 as nc dir_path = "./2m_temperature/03_TIFF/" files = os.listdir( 阅读全文

posted @ 2023-08-26 10:24 McDelfino 阅读(230) 评论(0) 推荐(0)

【871】netCDF数据处理
摘要:参考:How to convert NetCDF to GeoTIFF? 参考:利用Python(netCDF4库)读取.nc文件(NetCDF气象数据文件)的基本操作 参考:经度转换0°-360°与-180°-180°之间的相互转换 参考:https://blog.csdn.net/weixin_ 阅读全文

posted @ 2023-08-17 15:26 McDelfino 阅读(107) 评论(0) 推荐(0)

【869】dataframe通过包含字符过滤 str.contains()
摘要:ref: [Pandas] 文本包含.str.contains() import pandas as pd df = pd.DataFrame([['liver','E',89,21,24,64], ['Arry','C',36,37,37,57], ['Ack','A',57,60,18,84], 阅读全文

posted @ 2023-08-12 07:25 McDelfino 阅读(22) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页