MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / date_range

Function date_range

lib/matplotlib/tests/test_dates.py:1044–1047  ·  view source on GitHub ↗
(start, freq, periods)

Source from the content-addressed store, hash-verified

1042
1043 # Define a date_range function similar to pandas.date_range
1044 def date_range(start, freq, periods):
1045 dtstart = dt_tzaware.mk_tzaware(start)
1046
1047 return [dtstart + (i * freq) for i in range(periods)]
1048
1049 # Define a tz_convert function that converts a list to a new timezone.
1050 def tz_convert(dt_list, tzinfo):

Callers 1

_test_date2num_dstFunction · 0.85

Calls 1

mk_tzawareMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…