alex_bn_lee

导航

上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 247 下一页

2023年6月30日 #

【846】自定义cmap,用于GeoPandas、matplotlib制图

摘要: 参考:自定义颜色条教程 import matplotlib as mpl cmap = mpl.colors.ListedColormap(['yellow', '#E0E0E0']) africa_gdf.plot(column='hotspot_category', cmap=cmap, leg 阅读全文

posted @ 2023-06-30 08:38 McDelfino 阅读(107) 评论(0) 推荐(0)

2023年6月29日 #

【845】R语言case_when函数

摘要: 参考:case_when: A general vectorised if Others 用 TRUE 表示,举例如下: x <- 1:50 case_when( x %% 35 == 0 ~ "fizz buzz", x %% 5 == 0 ~ "fizz", x %% 7 == 0 ~ "buz 阅读全文

posted @ 2023-06-29 14:49 McDelfino 阅读(227) 评论(0) 推荐(0)

2023年6月28日 #

【844】GADI相关

该文被密码保护。 阅读全文

posted @ 2023-06-28 14:31 McDelfino 阅读(2) 评论(0) 推荐(0)

2023年6月15日 #

【843】dataframe相关操作 (match merge)

摘要: Reference: Python for Data Analysis, 3E - Pandas pandas.DataFrame.merge 29-April-2024 use to_string() to print the entire DataFrame. Check the number 阅读全文

posted @ 2023-06-15 18:31 McDelfino 阅读(47) 评论(0) 推荐(0)

【842】GeoPandas设置坐标系

摘要: 参考:geopandas--坐标系学习 gdf.crs = 'EPSG:4326' 阅读全文

posted @ 2023-06-15 10:44 McDelfino 阅读(53) 评论(0) 推荐(0)

上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 247 下一页