pandas 1.4.2

ParametersReturns

Parameters

dt_str : str

Datetime string to guess the format of.

dayfirst : bool, default False

If True parses dates with the day first, eg 20/01/2005 Warning: dayfirst=True is not strict, but will prefer to parse with day first (this is a known bug).

dt_str_parse : function, defaults to `dateutil.parser.parse`

This function should take in a datetime string and return a datetime.datetime guess that the datetime string represents

dt_str_split : function, defaults to `_DATEUTIL_LEXER_SPLIT` (dateutil)

This function should take in a datetime string and return a list of strings, the guess of the various specific parts e.g. '2011/12/30' -> ['2011', '/', '12', '/', '30']

Returns

ret : datetime format string (for `strftime` or `strptime`)

Guess the datetime format of a given datetime string.

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: None#None
type: <class 'builtin_function_or_method'>
Commit: