Module Import alias identifier Import alias identifier ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Str kwarg body Expr Str Import alias Assign NameStore ListLoad Str Str Str If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore ListLoad Str Str Str If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Print Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Lambda arguments args NameParam defaults AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Lambda arguments args NameParam defaults AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index CompareGt Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp BinOpMult ListLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Call NameLoad SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign AttributeStore NameLoad attr ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index CompareEq SubscriptLoad NameLoad Index Str Num attr Str keyword Num If CompareEq NameLoad Str body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad attr Call AttributeLoad NameLoad attr Str keyword Num keyword BinOpMod Str NameLoad keyword NameLoad keyword TupleLoad BinOpMod Str NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword Str attr Call AttributeLoad NameLoad attr Str keyword Num keyword Str keyword BinOpMod Str NameLoad keyword NameLoad keyword TupleLoad BinOpMod Str NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Num attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str NameLoad keyword NameLoad keyword Str keyword NameLoad keyword BinOpMod Str NameLoad keyword Str attr BinOpMod Str NameLoad decorator_list
N/A N/A numpy np N/A pandas pd shapely prepared sjoin N/A N/A left_df right_df how op lsuffix rsuffix N/A inner intersects left right kwargs N/A N/A Spatial join of two GeoDataFrames.

    left_df, right_df are GeoDataFrames
    how: type of join
        left -> use keys from left_df; retain only left_df geometry column
        right -> use keys from right_df; retain only right_df geometry column
        inner -> use intersection of keys from both dfs;
                 retain only left_df geometry column
    op: binary predicate {'intersects', 'contains', 'within'}
        see http://toblerity.org/shapely/manual.html#binary-predicates
    lsuffix: suffix to apply to overlapping column names (left GeoDataFrame)
    rsuffix: suffix to apply to overlapping column names (right GeoDataFrame)
     N/A rtree N/A allowed_hows N/A left right inner N/A N/A how allowed_hows N/A N/A N/A ValueError N/A `how` was "%s" but is expected to be in %s N/A how allowed_hows N/A allowed_ops N/A contains within intersects N/A N/A op allowed_ops N/A N/A N/A ValueError N/A `op` was "%s" but is expected to be in %s N/A op allowed_ops N/A N/A op within N/A N/A N/A left_df right_df N/A right_df left_df N/A N/A N/A left_df crs N/A right_df crs N/A N/A Warning: CRS does not match! N/A tree_idx N/A N/A N/A rtree index Index N/A right_df_bounds N/A N/A N/A right_df N/A geometry apply N/A N/A N/A x N/A N/A x bounds N/A i N/A right_df_bounds index N/A N/A N/A N/A tree_idx insert i N/A right_df_bounds N/A i N/A idxmatch N/A N/A N/A N/A N/A left_df N/A geometry apply N/A N/A N/A x N/A N/A x bounds apply N/A N/A N/A x N/A N/A list N/A N/A tree_idx intersection x N/A idxmatch N/A idxmatch N/A N/A N/A N/A idxmatch apply len 0 N/A r_idx N/A N/A np concatenate N/A idxmatch values N/A l_idx N/A N/A np concatenate N/A N/A N/A i N/A len v N/A N/A i v N/A N/A idxmatch iteritems find_intersects N/A N/A a1 a2 N/A N/A N/A N/A N/A a1 intersects a2 N/A find_contains N/A N/A a1 a2 N/A N/A N/A N/A N/A a1 contains a2 N/A N/A predicate_d N/A intersects contains within find_intersects find_contains find_contains N/A check_predicates N/A N/A np vectorize N/A predicate_d N/A op N/A result N/A N/A pd DataFrame N/A N/A np column_stack N/A l_idx r_idx N/A check_predicates N/A N/A N/A N/A left_df N/A geometry apply N/A N/A N/A x N/A N/A N/A prepared prep x N/A l_idx N/A N/A right_df N/A geometry N/A r_idx N/A N/A result columns N/A N/A index_%s lsuffix N/A index_%s rsuffix match_bool N/A result N/A N/A N/A N/A pd DataFrame N/A result N/A N/A N/A result N/A match_bool 1 drop match_bool axis 1 N/A N/A op within N/A N/A N/A left_df right_df N/A right_df left_df N/A result N/A N/A result rename columns N/A N/A index_%s lsuffix N/A index_%s rsuffix N/A index_%s rsuffix N/A index_%s lsuffix N/A N/A how inner N/A N/A result N/A N/A result set_index N/A index_%s lsuffix N/A N/A N/A N/A N/A left_df merge result left_index True right_index True merge N/A N/A right_df drop geometry axis 1 left_on N/A index_%s rsuffix right_index True suffixes N/A N/A _%s lsuffix N/A _%s rsuffix N/A N/A N/A how left N/A N/A result N/A N/A result set_index N/A index_%s lsuffix N/A N/A N/A N/A N/A left_df merge result left_index True right_index True how left merge N/A N/A right_df drop geometry axis 1 how left left_on N/A index_%s rsuffix right_index True suffixes N/A N/A _%s lsuffix N/A _%s rsuffix N/A N/A N/A how right N/A N/A N/A N/A N/A N/A N/A N/A left_df drop geometry axis 1 merge N/A N/A result merge right_df left_on N/A index_%s rsuffix right_index True how right left_index True right_on N/A index_%s lsuffix how right set_index N/A index_%s rsuffix N/A