Got your question.
Just do not add data=data in the arguments if data passed as the first argument is a dataframe(df). It'll work, It worked for me.