alex_bn_lee

导航

随笔分类 -  Python Study

上一页 1 2 3 4 5 6 7 8 9 ··· 31 下一页

Study of Python.
[996] Upload a file to an Amazon S3 bucket and obtain the URL of it using Python
该文被密码保护。

posted @ 2024-05-14 14:02 McDelfino 阅读(1) 评论(0) 推荐(0)

[995] Contamination Certificates
该文被密码保护。

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

[994] AWS Lambda Function for CC
该文被密码保护。

posted @ 2024-05-10 11:54 McDelfino 阅读(0) 评论(0) 推荐(0)

[993] Base64
摘要:ref: Base64-wiki ref: base64encoder.io ref: b64encode.com Base64 is a binary-to-text encoding scheme that allows binary data to be represented as a se 阅读全文

posted @ 2024-05-10 09:58 McDelfino 阅读(22) 评论(0) 推荐(0)

[992] Remove holes within polygons in a shapefile
摘要:To remove holes within polygons in a shapefile, you can use the geopandas library in Python. Here's how you can do it: import geopandas as gpd # Read 阅读全文

posted @ 2024-05-06 13:22 McDelfino 阅读(99) 评论(0) 推荐(0)

[990] Functions of pandas
摘要:Ref: pandas-cookbook Series.isxxxx() Series.isin(): Whether elements in Series are contained in values. top_oceania_wines = reviews[ (reviews.country. 阅读全文

posted @ 2024-04-30 13:09 McDelfino 阅读(10) 评论(0) 推荐(0)

[989] How to Use the Apply Method in Pandas
摘要:References: Tutorial: How to Use the Apply Method in Pandas pandas.Series.apply pandas.DataFrame.apply 1. pandas.Series.apply Apply a function to each 阅读全文

posted @ 2024-04-30 12:40 McDelfino 阅读(41) 评论(0) 推荐(0)

[988] Checking intersection between two Geodataframes
摘要:Certainly! To check if the polygons in the left GeoDataFrame intersect with the polygons in the right GeoDataFrame and create a new column with “yes” 阅读全文

posted @ 2024-04-24 07:09 McDelfino 阅读(26) 评论(0) 推荐(0)

[987] geopandas.sjoin
摘要:geopandas.sjoin: Spatial join of two GeoDataFrames. geopandas.sjoin(left_df, right_df, how='inner', predicate='intersects', lsuffix='left', rsuffix='r 阅读全文

posted @ 2024-04-23 11:42 McDelfino 阅读(94) 评论(0) 推荐(0)

[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 阅读(14) 评论(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 阅读(47) 评论(0) 推荐(0)

[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 阅读(11) 评论(0) 推荐(0)

[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 阅读(42) 评论(0) 推荐(0)

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

[981] JSON module in Python
摘要:In Python, the json module provides functions for encoding and decoding JSON data. Here's a brief explanation of the commonly used functions: json.dum 阅读全文

posted @ 2024-02-26 06:49 McDelfino 阅读(10) 评论(0) 推荐(0)

[980] Send an email with Python and Sendgrid!
该文被密码保护。

posted @ 2024-02-23 11:33 McDelfino 阅读(0) 评论(0) 推荐(0)

[978] The way that KML shows the local file
该文被密码保护。

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

[977] Using AWS Lambda Function to run a local Python file
该文被密码保护。

posted @ 2024-02-21 14:27 McDelfino 阅读(0) 评论(0) 推荐(0)

[976] How to install a Python Dependency on AWS Lambda
摘要:ref: How to install a Python Dependency on AWS Lambda (2023) Create a folder to save the Python depenency and right click the folder to open the termi 阅读全文

posted @ 2024-02-21 06:53 McDelfino 阅读(14) 评论(0) 推荐(0)

[975] Creating a POSTMAN Api | AWS API Gateway Passing Data to AWS Lambda
摘要:ref: AWS Lambda Function URLs ref: Guide to AWS Lambda Function URLs ref: Test your Lambda function with Postman 1. Create a Lambda Function aws -> Se 阅读全文

posted @ 2024-02-20 10:40 McDelfino 阅读(62) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 31 下一页