mydatapreprocessing.types package¶
Place for storing the types used across the library. Type for data input format for example.
-
mydatapreprocessing.types.
DataFrameOrArrayGeneric
¶ Many functions works for numpy arrays as well as for pandas DataFrame. The same type as on input is returned on output usually.
Type: typing.TypeVar
-
mydatapreprocessing.types.
Numeric
¶ Define basic numeric type usually used in computation. Union of float, int and numpy.number.
Type: typing.TypeAlias
-
mydatapreprocessing.types.
PandasIndex
¶ Index that can be used in this library in function parameter. It can be str, but also int index. It’s usually narrowed to str | pd.Index afterwards so it can be used to access column with the same syntax as with columns name.
Type: typing.TypeAlias
-
mydatapreprocessing.types.
DataFormat
¶ Type: typing.TypeAlias