I'm preparing a data analysis program with pandas. Users transfer data from the excel file to the program. Column names taken from the Excel file are constantly changing. Therefore, I do not know the column names and data types that I will record in the database. How can I save unfamiliar types of data in the database.The database I use is postqresql. Only if I understand the logic I can move forward. very thank you.
Relational database are not well suited for storing data do not adhere to a fixed schema.
I see two options:

Analyze the data you have and create a new table that fits the data before you insert them into the database.
The question is what to do with all these tables in PostgreSQL.

Use a table with a jsonb column (not only this column of course; you need at least a primary key) and format the data you have as JSON.
The question is what to do with all these random data.
How can I save unknown data types to the database?