标签:python taf flow UNC int port ack back over
https://stackoverflow.com/questions/14808945/check-if-variable-is-dataframe
Use the built-in isinstance()
function.
1 import pandas as pd 2 3 def f(var): 4 if isinstance(var, pd.DataFrame): 5 print "do stuff"
<Python>判断变量是否是DataFrame 或者 Series
标签:python taf flow UNC int port ack back over
原文地址:https://www.cnblogs.com/focus-z/p/10134539.html