# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: 'Python 3.9.7 64-bit (''DS-env'': venv)'
#     name: python3
# ---

import pandas as pd

df=pd.read_csv("data/rap_world/rapworld.csv", sep=";")

upper_left=(41.000449, -74.121283)
down_right=(40.556001, -73.060932)

(df["Name"]=="22 GZ").any()

df["x"]=df["Coordinates"].apply(lambda x : float(x.split(",")[0]))
df["y"]=df["Coordinates"].apply(lambda x : float(x.split(",")[1]))

df[(df["x"]<upper_left[0])&(df["x"]>down_right[0])&(df["y"]<down_right[1])&(df["y"]>upper_left[1])]

df.Name["Tupac"]



StarcoderdataJupyterScriptsDedupFiltered