How To Change Sqlite_max_column In Python?
all: I'm a Python user,not familiar with SQLite. I try to write a dataframe with 3892 columns into SQLite table using the dataframe.to_sql() method. And Python told me there is an
Solution 1:
You cannot change this value without recompiling SQLite.
Having a large number of columns is generally bad form in relational database design. Assuming that having that many columns makes sense for your data, you should consider using a different tool than SQLite, as even the documentation you link to mentions that SQLite has numerous algorithms that provide quadratic performance (O(N) for N columns).
Post a Comment for "How To Change Sqlite_max_column In Python?"