취미와 밥줄사이

[Pandas] - isintance() 본문

Python/Pandas

[Pandas] - isintance()

취미와 밥줄사이 2021. 4. 28. 20:08

isintance( 값, 자료형)

  • 첫 번째 인자인 값의 자료형이 두 번째 인자의 자료형과 동일하면 True 를 반환하고 동일하지 않다면 False를 반환한다.

Syntax

  • isinstance( object, type)

Prameter Values

  • object = 객체를 인자로 받는다.
  • class_or_tuple = 클래스 혹은 자료형을 인자로 받는다.

예시

Reference

steadiness-193.tistory.com/255

 

판다스 - isinstance

[isinstace(값, 자료형)] * 자료형은 str, float, list, tuple 등 가능하다. 값의 자료형이 인자에 있는 자료형과 동일하다면 True 그렇지 않다면 False를 반환 결과를 True or False로 반환한다. 데이터 프레임..

steadiness-193.tistory.com