본문 바로가기

Python

[파이썬/Pandas] If Statement

Pandas에서 if (condition) :

이러면... 오류가 뜰 것이다. 요렇게

그러면 이걸 어떻게 처리해야 할까?

https://datatofish.com/if-condition-in-pandas-dataframe/

 

5 ways to apply an IF condition in Pandas DataFrame – Data to Fish

In this guide, you’ll see 5 different ways to apply an IF condition in Pandas DataFrame. Specifically, you’ll see how to apply an IF condition for: Set of numbers Set of numbers and lambda Strings Strings and lambda OR condition Applying an IF conditi

datatofish.com

 

등을 알아보고 있다