Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.api.types.is_re_compilable#

pandas.api.types.is_re_compilable(obj)[source]#

Check if the object can be compiled into a regex pattern instance.

Parameters:
objThe object to check
Returns:
bool

Whetherobj can be compiled as a regex pattern.

Examples

>>>frompandas.api.typesimportis_re_compilable>>>is_re_compilable(".*")True>>>is_re_compilable(1)False

[8]ページ先頭

©2009-2025 Movatter.jp