Re: Vectorizing operation involving multiple DataFrames

2018-07-05 Thread Viswanath Potluri
On Wednesday, July 4, 2018 at 7:51:19 PM UTC-7, Viswanath Potluri wrote: > I've a dataframe all_paths with say 9000 rows, and i've another dataframe > Legs with 4000 rows. I need to filter all_paths dataframe based on a column > called 'itineraries' which contains a list of strings, for each row

Vectorizing operation involving multiple DataFrames

2018-07-04 Thread Viswanath Potluri
I've a dataframe all_paths with say 9000 rows, and i've another dataframe Legs with 4000 rows. I need to filter all_paths dataframe based on a column called 'itineraries' which contains a list of strings, for each row in Legs. So, basically its like getting a dataframe that is subset of all_path