Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mindsdb-dependabot-npm-and-yarn-docs-fast-uri-3-1-2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Description

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.
Note that the trailing whitespaces on column names are erased upon uploading a file to MindsDB.

Syntax

Here is the syntax:
files_db = server.get_database('files')
files_db.create_table('file_name', data_frame)