<human>:  Python pandas: check if any value is NaN in DataFrame
<bot>: Here is some code to check if datafram `df` has any NaN vlaues

df.isnull().values.any()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.