Utils
InternalDataFrameConcat(dfs, **kwargs)
Concatenate dataframes.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dfs |
Iterable[InternalDataFrame]
|
The dataframes to concatenate. |
required |
Returns:
Name | Type | Description |
---|---|---|
InternalDataFrame |
InternalDataFrame
|
The concatenated dataframe. |
Source code in adala/utils/internal_data.py
15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
print_dataframe(dataframe)
Print dataframe to console.
Source code in adala/utils/logs.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
print_error(text)
Print error message to console.
Source code in adala/utils/logs.py
29 30 31 32 33 |
|
print_series(data)
Print series to console.
Source code in adala/utils/logs.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|
print_text(text, style=None, streaming_style=False)
Print text to console with optional style and streaming style.
Source code in adala/utils/logs.py
16 17 18 19 20 21 22 23 24 25 26 |
|
fuzzy_match(x, y, threshold=0.8)
Fuzzy match string values in two series.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x |
InternalSeries
|
The first series. |
required |
y |
InternalSeries
|
The second series. |
required |
threshold |
float
|
The threshold to use for fuzzy matching. Defaults to 0.8. |
0.8
|
Returns:
Name | Type | Description |
---|---|---|
InternalSeries |
InternalSeries
|
The series with fuzzy match results. |
Source code in adala/utils/matching.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|