How to check if dataframe is empty and if its empty i want to clear the qtableview. in the function below: