pandas 1.4.2

ParametersReturns
_from_derivatives(xi, yi, x, order=None, der=0, extrapolate=False)

Construct a piecewise polynomial in the Bernstein basis, compatible with the specified values and derivatives at breakpoints.

Parameters

xi : array-like

sorted 1D array of x-coordinates

yi : array-like or list of array-likes

yi[i][j] is the j-th derivative known at xi[i]

order: None or int or array-like of ints. Default: None. :

Specifies the degree of local polynomials. If not None, some derivatives are ignored.

der : int or list

How many derivatives to extract; None for all potentially nonzero derivatives (that is a number equal to the number of points), or a list of derivatives to extract. This number includes the function value as 0th derivative.

extrapolate

extrapolate

Returns

y : scalar or array-like

The result, of length R or length M or M by R.

Convenience function for interpolate.BPoly.from_derivatives.

See Also

scipy.interpolate.BPoly.from_derivatives

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /pandas/core/missing.py#540
type: <class 'function'>
Commit: