alex_bn_lee

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

09 2023 档案

[892] Change the background color of a table in a Word document
摘要:ref: python-docx Changing Table Cell Background Color. To change the background color of a table in a Word document using Python, you can use the pyth 阅读全文

posted @ 2023-09-27 13:14 McDelfino 阅读(221) 评论(0) 推荐(0) 编辑

[891] Combine multiple dictionaries in Python
摘要:To combine multiple dictionaries in Python, you can use any of the methods mentioned earlier for combining two dictionaries. You can repeatedly apply 阅读全文

posted @ 2023-09-27 13:03 McDelfino 阅读(9) 评论(0) 推荐(0) 编辑

[890] Install new packages in ArcGIS Pro Python environment
该文被密码保护。

posted @ 2023-09-26 14:39 McDelfino 阅读(1) 评论(0) 推荐(0) 编辑

[889] To enable arcpy in VS Code
摘要:ref: Getting Started with Python in VS Code - Create a virtual environment To enable arcpy in VS Code, you need to configure your Python interpreter t 阅读全文

posted @ 2023-09-26 11:51 McDelfino 阅读(36) 评论(0) 推荐(0) 编辑

[888] How to get the directory of the current Python file
摘要:ref: Get the path of the current file (script) in Python: __file__ To get the directory of the current Python file, you can use the os.path module in 阅读全文

posted @ 2023-09-26 09:02 McDelfino 阅读(12) 评论(0) 推荐(0) 编辑

[887] Some tasks and necessary scripts
该文被密码保护。

posted @ 2023-09-26 07:54 McDelfino 阅读(0) 评论(0) 推荐(0) 编辑

[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 阅读(8) 评论(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 阅读(13) 评论(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 阅读(16) 评论(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 阅读(13) 评论(0) 推荐(0) 编辑

[882] ArcGIS Pro - Spatial Join
摘要:My question: In ArcGIS Pro, there are two polygon layers, and I would like to compare if those polygons overlay with each other in different layers. H 阅读全文

posted @ 2023-09-21 09:53 McDelfino 阅读(47) 评论(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 阅读(7) 评论(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 阅读(14) 评论(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 阅读(13) 评论(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 阅读(7) 评论(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 阅读(29) 评论(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 阅读(9) 评论(0) 推荐(0) 编辑

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

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

点击右上角即可分享
微信分享提示