alex_bn_lee

导航

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 247 下一页

2024年4月23日 #

[986] Filter rows by containing a particular word in Pandas

摘要: In Pandas, you can filter rows based on whether a specific column contains a particular word or substring. Here are a few ways to achieve this: Using  阅读全文

posted @ 2024-04-23 08:56 McDelfino 阅读(20) 评论(0) 推荐(0)

[985] Filter by Column Value & Multiple Conditions in Pandas dataframe

摘要: ref: Ways to filter Pandas DataFrame by column values Filter by Column Value: To select rows based on a specific column value, use the index chain met 阅读全文

posted @ 2024-04-23 08:34 McDelfino 阅读(58) 评论(0) 推荐(0)

2024年4月22日 #

[984] Using geopandas to read geodatabase

摘要: Like this: gdf_NSW = gpd.read_file(path_cadastre, layer="NSW") path_cadastre: the filepath of the geodatabase. layer="NSW": the different feature file 阅读全文

posted @ 2024-04-22 12:44 McDelfino 阅读(13) 评论(0) 推荐(0)

2024年3月18日 #

[983] Add a notification after finishing the Python script

摘要: ref: How to implement a Python desktop notifier using the plyer module You can generate a notification after your Python code finishes executing using 阅读全文

posted @ 2024-03-18 13:33 McDelfino 阅读(61) 评论(0) 推荐(0)

2024年3月5日 #

[982] Print and save a JSON file with indentation in Python

摘要: Certainly! To print a JSON file with indentation in Python, you can use the json module. Here’s an example of how to do it: import json # Your JSON da 阅读全文

posted @ 2024-03-05 07:35 McDelfino 阅读(23) 评论(0) 推荐(0)

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 247 下一页