|
Union[pd.DataFrame, List[Dict[Hashable, Any]]] | _transform (self, pd.DataFrame df, bool fastapi_output, **Any kwargs) |
|
Implements the transformer function for darktable tags to mysql tags
◆ _transform()
Union[pd.DataFrame, List[Dict[Hashable, Any]]] dtlib.lens.DtlibLens._transform |
( |
|
self, |
|
|
pd.DataFrame |
df, |
|
|
bool |
fastapi_output, |
|
|
**Any
|
kwargs |
|
) |
| |
|
protected |
Transforms the original lens table from darktable into a mysql table
:param df: The source dataframe
:param fastapi_output: Whether the output should be a List[Dict] or a DataFrame
:param kwargs: Additional keyword arguments
:return: The transformed dataframe or a list of dictionaries
The documentation for this class was generated from the following file: