You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use built-in functions for data manipulation and analysis to operate on the underlying database storing the chain data. These functions are useful for operations like [`DataChain.filter`](datachain.md#datachain.lib.dc.DataChain.filter) and [`DataChain.mutate`](datachain.md#datachain.lib.dc.DataChain.mutate). Import these functions from `datachain.func`.
3
+
Use built-in functions for data manipulation and analysis to operate on the underlying database storing the chain data. These functions are useful for operations like [`DataChain.filter`](datachain.md#datachain.lib.dc.DataChain.filter) and [`DataChain.mutate`](datachain.md#datachain.lib.dc.DataChain.mutate).
4
4
5
-
::: datachain.func
5
+
Functions are organized by category and accessed through their respective modules. For example, string functions are accessed via `func.string.length()`, array functions via `func.array.contains()`, etc.
6
+
7
+
!!! note "Global Function Access"
8
+
Only a subset of functions are available directly from `datachain.func` (e.g., `func.length`). Most functions should be accessed through their specific module namespace (e.g., `func.string.length`) to avoid naming conflicts.
9
+
10
+
## Function Categories
11
+
12
+
DataChain provides several categories of functions for different types of operations:
13
+
14
+
-**[Aggregate Functions](functions/aggregate.md)** - Functions for aggregating data like `sum`, `count`, `avg`, etc.
15
+
-**[Array Functions](functions/array.md)** - Functions for working with arrays and lists
16
+
-**[Conditional Functions](functions/conditional.md)** - Functions for conditional logic like `ifelse`, `case`, etc.
17
+
-**[Numeric Functions](functions/numeric.md)** - Functions for numeric operations and computations
18
+
-**[Path Functions](functions/path.md)** - Functions for working with file paths
19
+
-**[Random Functions](functions/random.md)** - Functions for generating random values
20
+
-**[String Functions](functions/string.md)** - Functions for string manipulation and processing
21
+
-**[Window Functions](functions/window.md)** - Functions for window operations
0 commit comments