摘要:ref: Loading pgAdmin 4 v7.4... while opening pgAdmin I had the same problem when installing pgAdmin via the postgresql-15.3-3-windows-x64 installer. S
阅读全文
摘要:ref: TextCNN文本分类(keras实现)
阅读全文
摘要:ref: PostgreSQL 教程 ref: pgAdmin4简单备份与恢复(≧∇≦*)数据库导入导出PostgreSql (backup and restore) ref: How to Fix “Permission Denied” Error While Importing a CSV Fi
阅读全文
摘要:ref: Pandas新增一列并按条件赋值? 把下图中的 NaN 都赋值为 0 df.loc[条件判断, 'value'] = 0 m = pd.merge(gdf_africa, df_af_mp, how='left', on='country') m.loc[m['value'].isna()
阅读全文
摘要:Suppose we have a dataframe, it has a column of "country". It lists different names of country's names, and for one country maybe it has multiple reco
阅读全文
摘要:ref: R语言——日期时间处理 ref: as.Date: Date Conversion Functions to and from Character ref: Date Formats in R as.Date()it can change a normal string into a da
阅读全文
摘要:Ref: ggplot2 title : main, axis and legend titles Ref: ggplot2 标题居中 Ref: ggplot的3种去掉图例的方法 (theme(legend.position="none")) Ref: R绘图:一文了解ggplot2颜色的设置 Re
阅读全文
摘要:Ref: R 字符串 Ref: R语言遍历文件和批量输出文件 setwd(dir)getwd()getwd returns an absolute filepath representing the current working directory of the R process; setwd(
阅读全文
摘要:参考:JavaScript 教程 参考:Chrome 浏览器中执行 JavaScript HTML 中的 Javascript 脚本代码必须位于 <script> 与 </script> 标签之间。 Javascript 脚本代码可被放置在 HTML 页面的 <body> 和 <head> 部分中。
阅读全文
摘要:ref: tm_polygons: Draw polygons Arguments alpha transparency number between 0 (totally transparent) and 1 (not transparent). By default, the alpha val
阅读全文
摘要:ref: Add Leading Zeros to the Elements of a Vector in R 参考代码: # 数组 > seq(12) [1] 1 2 3 4 5 6 7 8 9 10 11 12 # 格式化打印,自动补零 > sprintf("%02d", seq(12)) [1
阅读全文
摘要:ref: palette_explorer: Explore color palettes palette_explorer() starts an interactive tool shows all Color Brewer and viridis palettes, where the num
阅读全文
摘要:Ref: country-converter 1.0.0 Ref: Python-pycountry | Understand How to Use pycountry These two python libraries are both used to process information a
阅读全文
摘要:参考:Cutting a polygon from TIFF with Python [closed] import rasterio import rasterio.mask import geopandas as gpd dataset = rasterio.open("wc2.1_10m_el
阅读全文
摘要:参考:How to Replace Elements in NumPy Array (3 Examples) You can use the following methods to replace elements in a NumPy array: Method 1: Replace Eleme
阅读全文
摘要:参考:使用Rasterio读取栅格数据 参考:rasterio 官方 Tutorial 参考:使用Rasterio读取栅格数据 参考:Rasterio入门
阅读全文
摘要:参考:皮尔逊相关系数(Pearson Correlation Coefficient) 参考:空间相关系数 通过计算每个象元的相关性,然后把整个象元再描绘出来,就形成一幅地图! 参考:A&C分区|两变量相关系数空间分布图(空间演变及影响因子分析第三集:空间相关性分析) 参考:Python气象数据处理
阅读全文
摘要:参考:Add Months to datetime Object in Python ☀☀☀<< 举例 >>☀☀☀ # import packages import pandas as pd # adding months to a particular date present = '2022-0
阅读全文