⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 2 of about 2 for pathlib (0.001 sec.)
Integration with PyTorch 11228
PyTorch tensors can be built from DuckDB query results by exporting each result batch as Apache Arrow . This pattern is useful when training or serving models on Parquet data because DuckDB can filter and project the input before the batche ... ed Arrow dataset, streams the result as RecordBatch objects and converts each batch into feature and label tensors. import pathlib import tempfile import duckdb import numpy as np import pyarrow as pa import pyarrow.dataset as ds import pyarrow.parquet ... as pq import torch base_path = pathlib.Path(tempfile.mkdtemp()) parquet_dir = base_path / "train" table = pa.table( { "feature_0": [0.1, 0.3, 0.5, 0.7], "feature ...
https://man.mtool.work/duckdb/2.0/guides/python/pytorch.html
Text Functions 7485
Text Functions and Operators This section describes functions and operators for examining and manipulating STRING values . Function Description string[index] Extracts a single character using a (1-based) index . string[begin:end] Extracts a ... arse_path(path[, separator]) Returns a list of the components (directories and filename) in the path similarly to Python's pathlib.parts function. separator options: system , both_slash (default), forward_slash , backslash . position(search_string IN st ... separator]) | Description | Returns a list of the components (directories and filename) in the path similarly to Python's pathlib.parts function. separator options: system , both_slash (default), forward_slash , backslash . | | Example | parse_path('pa ...
https://man.mtool.work/duckdb/2.0/sql/functions/text.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work