This piece of code is throwing up the error:
invalid operands to binary !=(have \'dataframe\' {aka \'struct dataframe\'} and \'void *\'