interfaces

generics.interfaces

Interface utilities for CaML.

This module provides interfaces and protocols for various functionalities in CaML.

Attributes

Name Description
PandasConvertibleDataFrame Type alias for DataFrame-like objects that are pandas convertible.

Classes

Name Description
FittedAttr Attribute that requires _fitted attribute to be True.
toPandasConvertible Protocol for DataFrame-like objects that are pandas convertible via toPandas().
to_pandasConvertible Protocol for DataFrame-like objects that are pandas convertible via to_pandas().

FittedAttr

generics.interfaces.FittedAttr(name)

Attribute that requires _fitted attribute to be True.

toPandasConvertible

generics.interfaces.toPandasConvertible()

Protocol for DataFrame-like objects that are pandas convertible via toPandas().

to_pandasConvertible

generics.interfaces.to_pandasConvertible()

Protocol for DataFrame-like objects that are pandas convertible via to_pandas().

Back to top