signature
laktory.polars.dataframe.signature
¤
FUNCTION | DESCRIPTION |
---|---|
signature |
Returns DataFrame signature. |
Functions¤
signature
¤
signature(df)
Returns DataFrame signature.
PARAMETER | DESCRIPTION |
---|---|
df
|
Input DataFrame
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
Result |
```py
|
|
import laktory # noqa: F401
|
|
import polars as pl
|
|
df = pl.DataFrame({"x": [1, 2, 3], "label": ["a", "b", "c"]})
|
|
print(signature())
|
|
# > DataFrame[x: Int64, label: String]
|
|
```
|
|
Source code in laktory/polars/dataframe/signature.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|