<jupyter_start><jupyter_text>Uncomment the following line to install [geemap](https://geemap.org) if needed.<jupyter_code># !pip install geemap
import geemap
import pandas as pd
# geemap.update_package()<jupyter_output><empty_output><jupyter_text>Using a CSV file containing xy coordinates<jupyter_code>m = geemap.Map()
data = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv'
m.add_points_from_xy(data, x="longitude", y="latitude")
m<jupyter_output><empty_output><jupyter_text>Using a Pandas DataFrame containing xy coordinates.<jupyter_code>m = geemap.Map()
data = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv'
df = pd.read_csv(data)
m.add_points_from_xy(df, x="longitude", y="latitude")
m<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1329987452948557, 'fraction_numerical': 0.0, 'mean_word_length': 8.279069767441861, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '370563', 'license': 'MIT', 'n_tokens_mistral': 309, 'n_tokens_neox': 303, 'n_words': 47, 'path': 'examples/notebooks/87_add_points_from_xy.ipynb', 'repo_name': 'Yisheng-Li/geemap', 'size': '797'}