⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 5 of about 5 for DuckDBPyConnection (0.005 sec.)
Python Client API 12832
Connection class duckdb. Appender Bases: object append_row ( self , * args ) → None Buffer one row, one value per column, each converted as an executemany parameter would be append_rows ( self , rows : object ) → None Buffer each row of an ... ( self ) → None Apply the rows buffered since the last flush with one statement on the appender's connection class duckdb. DuckDBPyConnection Bases: object abort ( self ) → None Cancel the rest of the result of execute(); a statement that may write fails an open t ... ransaction append ( self , table_name : str , df : object , * , by_name : bool = False ) → _duckdb.DuckDBPyConnection Append the passed DataFrame to the named table appender ( self , table : str , * , columns : list | None = None , action : ... uckDBPyType , size : int ) → _duckdb._sqltypes.DuckDBPyType Create an array type object of ‘type' begin ( self ) → _duckdb.DuckDBPyConnection Start a new transaction checkpoint ( self ) → _duckdb.DuckDBPyConnection Synchronizes data in the write-ahead log (WAL) to ...
https://man.mtool.work/duckdb/2.0/clients/python/reference/
Relational API 8677
The Relational API builds a query one step at a time from Python. A relation, a DuckDBPyRelation , is a piece of SQL text: the methods of the Transformation and Functions sections return a new relation whose text extends the one they were c ... ation object from the passed values. view Create a relation object for the named view. from_arrow from_arrow(self: _duckdb.DuckDBPyConnection, arrow_object: object) -> DuckDBPyRelation Create a relation object from an Arrow object. Parameters arrow_object : object ... │ id │ text │ │ int8 │ varchar │ ├──────┼─────────┤ │ 1 │ a │ └──────┴─────────┘ from_csv_auto from_csv_auto(self: _duckdb.DuckDBPyConnection, *args: object, **kwargs: object) -> DuckDBPyRelation Alias of read_csv() . from_df from_df(self: _duckdb.DuckDBPyConnecti ... id │ text │ │ int64 │ varchar │ ├───────┼─────────┤ │ 1 │ a │ └───────┴─────────┘ from_parquet from_parquet(self: _duckdb.DuckDBPyConnection, path_or_buffer: object, binary_as_string: bool = False, **kwargs: Any) -> DuckDBPyRelation Alias of read_parquet() . from ...
https://man.mtool.work/duckdb/2.0/clients/python/relational_api.html
Types API 8181
The DuckDBPyType class, duckdb.sqltypes.DuckDBPyType , represents one of the data types . Use DuckDBPyType to describe SQL types when declaring function parameters, return types or casts. Python types such as int are accepted too: int descr ... UBIGINT UHUGEINT UINTEGER USMALLINT UTINYINT UUID VARCHAR VARIANT For the complex types there are methods available on the DuckDBPyConnection object or the duckdb module. Anywhere a DuckDBPyType is accepted, we will also accept one of the type objects that can imp ...
https://man.mtool.work/duckdb/2.0/clients/python/types.html
Python DB API 8107
The standard DuckDB Python API provides a SQL interface compliant with the DB-API 2.0 specification described by PEP 249 similar to the SQLite Python API . Connection To use the module, you must first create a DuckDBPyConnection object that ...
https://man.mtool.work/duckdb/2.0/clients/python/dbapi.html
Python API 8107
Installation To use the DuckDB Python client, visit the Python installation page . The latest stable version of the DuckDB Python client is 2.0.0. Installation The DuckDB Python API can be installed using pip : pip install duckdb . Please s ... ad.start() for thread in threads: thread.join() print(results) [[(500,)], [(500,)], [(500,)], [(500,)]] About cursor() The DuckDBPyConnection.cursor() method opens a new connection to the same database. A cursor has its own transaction and its own session settings ...
https://man.mtool.work/duckdb/2.0/clients/python/overview.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work