How do I Filter Pandas Dataframe based on conditions | Multiple Conditions

preview_player
Показать описание
Hi All,

In this video, I have explained how do we filter pandas dataframe based on 1, 2, 3+ Conditions. Data scientists and data analysts use this filter in their day to day life.

Please subscribe to my channel ::

Back Ground Music ::
🔻
"Shahed - Indian Fusion" is free to use anywhere as long as you credit Shahed.
🔺

comment below if you have any questions regarding this topic.
Рекомендации по теме
Комментарии
Автор

What if you have 3 list?
I want to do something like this. the data was taken with webscrapping, so i have 3 lists. I have a column of 1 type of fruit, another column of price and another of price per kg. I would like it to only write or save to a new array, list or dictionary if the fruit (with its price1 and price per kg) includes a specific word, for example fruit in 'box' or 'bulk'. do you know how i can do it? Example:
Fruit in a box 600gr 10(usd) 5(usd)
Nice Fruit bulk 900gr 11(usd) 6(usd)
But if its 'fruit shampoo' dont be writen or save in excel column (it has not the word box or bulk).... or at least be written and the deleted that row

tigreonice