Problem with pandas DataFrame

Hello all, im newbie in mongo. I try to send DataFrame to my DB and have this error. What is the problem?

You can’t directly upload a Pandas Dataframe to Mongo, as Mongo don’t recognize them.
But you can upload a Dictionary!

dictionary = dataframe.to_dict("records")

In general i dont upload Dataframe directrly, i upload a dictionary with Dataframes inside. Or im still convert all dataframes to dictionaries?