def set_features(self):
    df_list = []
    for (idx, row) in enumerate(self.grid_sdf.iterrows()):
        geom = Geometry(row[1].SHAPE)
        sp_filter = filters.intersects(geom, self.grid_wkid)
        data_fl = FeatureLayer(url=self.feat_url, gis=self.gis_conn)
        df_list.append(data_fl.query(geometry_filter=sp_filter, return_all_records=False).df)
    self.features = df_list
def set_features(self):
    df_list = []
    for (idx, row) in enumerate(self.grid_sdf.iterrows()):
        geom = Geometry(row[1].SHAPE)
        sp_filter = filters.intersects(geom, self.grid_wkid)
        data_fl = FeatureLayer(url=self.feat_url, gis=self.gis_conn)
        df_list.append(data_fl.query(geometry_filter=sp_filter, return_all_records=False).df)
    self.features = df_list