⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 1.3 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 2 of about 2 for ConstantExpression (0.003 sec.)
Expression API – DuckDB 11228
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... ─────┬───────┐ │ a │ c │ │ int64 │ int64 │ ├───────┼───────┤ │ 1 │ 42 │ │ 2 │ 21 │ │ 3 │ 13 │ │ 4 │ 14 │ └───────┴───────┘ Constant Expression This expression contains a single value. import duckdb import pandas as pd df = pd . DataFrame ({ 'a' : [ 1 , 2 , 3 , 4 ] ... , 'b' : [ True , None , False , True ], 'c' : [ 42 , 21 , 13 , 14 ] }) const = duckdb . ConstantExpression ( 'hello' ) duckdb . df ( df ). select ( const ). show () ┌─────────┐ │ 'hello' │ │ varchar │ ├─────────┤ │ hello │ │ hell ... ...) blocks can be added with .when(condition = ..., value = ...) . import duckdb import pandas as pd from duckdb import ( ConstantExpression , ColumnExpression , CaseExpression ) df = pd . DataFrame ({ 'a' : [ 1 , 2 , 3 , 4 ], 'b' : [ True , None , False , True ] ...
https://man.mtool.work/duckdb/1.3/clients/python/expression.html
Python Client API – DuckDB 7485
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... reate a column reference from the provided column name class duckdb. ConnectionException ¶ Bases: OperationalError duckdb. ConstantExpression ( value : object ) → duckdb.duckdb.Expression ¶ Create a constant expression from the provided value class duckdb. Constra ...
https://man.mtool.work/duckdb/1.3/clients/python/reference/
PREV 1 NEXT
DuckDB 1.3 Documentation / man.mtool.work