Skip to content

Original Data

OriginalData(dtype=str)

Bases: SingleContentTechnique

Technique used to retrieve the original data within the content's raw source without applying any processing operation.

Note that if specified, preprocessing operations will still be applied!

This technique is particularly useful if the user wants to keep the original data of the contents

PARAMETER DESCRIPTION
dtype

If specified, data will be cast to the chosen dtype

TYPE: Callable DEFAULT: str

Source code in clayrs/content_analyzer/field_content_production_techniques/field_content_production_technique.py
266
267
268
def __init__(self, dtype: Callable = str):
    super().__init__()
    self.__dtype = dtype