is_datetimelike_v_numeric(a, b)
The first object to check.
The second object to check.
Whether we return a comparing a datetime-like to a numeric object.
Check if we are comparing a datetime-like object to a numeric object. By "numeric," we mean an object that is either of an int or float dtype.
>>> from datetime import datetimeThis example is valid syntax, but we were not able to check execution
... dt = np.datetime64(datetime(2017, 1, 1)) >>>
>>> is_datetimelike_v_numeric(1, 1) FalseThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(dt, dt) FalseThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(1, dt) TrueThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(dt, 1) # symmetric check TrueThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(np.array([dt]), 1) TrueThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(np.array([1]), dt) TrueThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(np.array([dt]), np.array([1])) TrueThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(np.array([1]), np.array([2])) FalseThis example is valid syntax, but we were not able to check execution
>>> is_datetimelike_v_numeric(np.array([dt]), np.array([dt])) FalseSee :
The following pages refer to to this document either explicitly or contain code examples using this.
pandas.core.dtypes.common.is_datetimelike_v_numeric
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