bundles / numpy 2.4.4 / numpy / polynomial / _polybase / ABCPolyBase / convert
function
numpy.polynomial._polybase:ABCPolyBase.convert
Signature
def convert ( self , domain = None , kind = None , window = None ) Summary
Convert series to a different kind and/or domain and/or window.
Parameters
domain: array_like, optionalThe domain of the converted series. If the value is None, the default domain of
kindis used.kind: class, optionalThe polynomial series type class to which the current instance should be converted. If kind is None, then the class of the current instance is used.
window: array_like, optionalThe window of the converted series. If the value is None, the default window of
kindis used.
Returns
new_series: seriesThe returned class can be of different type than the current instance and/or have a different domain and/or different window.
Notes
Conversion between domains and class types can result in numerically ill defined series.
Aliases
-
numpy.polynomial._polybase.ABCPolyBase.convert