pandas 1.4.2

ParametersRaisesBackRef
validate_kwargs(fname, kwargs, compat_args)

Parameters

fname : str

The name of the function being passed the :None:None:`**kwargs` parameter

kwargs : dict

The :None:None:`**kwargs` parameter passed into :None:None:`fname`

compat_args: dict :

A dictionary of keys that :None:None:`kwargs` is allowed to have and their associated default values

Raises

TypeError if `kwargs` contains keys not in `compat_args`
ValueError if `kwargs` contains keys in `compat_args` that do not
map to the default values specified in `compat_args`

Checks whether parameters passed to the **kwargs argument in a function :None:None:`fname` are valid parameters as specified in :None:None:`*compat_args` and whether or not they are set to their default values.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

pandas.util._validators.validate_args_and_kwargs

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/util/_validators.py#135
type: <class 'function'>
Commit: