In MindsDB, files are treated as tables. These are stored in the default files database. To upload a file, you must save this files database into a variable and then, run the create_table() function on it.
files
create_table()
Here is the syntax:
files_db = server.get_database('files') files_db.create_table('file_name', data_frame)