SYMBOL INDEX (421 symbols across 42 files) FILE: examples/event_analysis.py function hourly_counts (line 164) | def hourly_counts(event_series, start_time, end_time): FILE: examples/financial_analysis.py function parse_datetime (line 19) | def parse_datetime(date_string): function create_price_series (line 43) | def create_price_series(): function create_trading_hours_mask (line 67) | def create_trading_hours_mask( function calculate_vwap (line 118) | def calculate_vwap(price_ts, volume_ts): function calculate_returns (line 150) | def calculate_returns(price_ts): FILE: examples/helloworld.py function parse_iso_datetime (line 9) | def parse_iso_datetime(value): function read_all (line 13) | def read_all(pattern="examples/data/lightbulb-*.csv"): FILE: examples/iot_sensor_analysis.py function generate_sensor_data (line 20) | def generate_sensor_data( function cos_like (line 90) | def cos_like(hour, peak_hour=12): function cos_transform (line 95) | def cos_transform(x, period=24): function print_sensor_stats (line 119) | def print_sensor_stats(name, ts): function detect_threshold_crossings (line 156) | def detect_threshold_crossings(ts, threshold, rising=True): function detect_anomalies (line 200) | def detect_anomalies(ts, window_size=timedelta(hours=6), z_score_thresho... function resample_all_sensors (line 262) | def resample_all_sensors(start_time, end_time, interval=timedelta(minute... FILE: examples/stackystack.py function average (line 7) | def average(values): class Test (line 17) | class Test(traces.TimeSeries): method stack (line 18) | def stack(self, duration, start_times, operation): function xmprint (line 32) | def xmprint(ts): function generate_ts (line 38) | def generate_ts(n_days): function hour_mask (line 55) | def hour_mask(n_days, hours): FILE: examples/timing.py class timer (line 9) | class timer: method __call__ (line 10) | def __call__(self, function): function print_results (line 24) | def print_results(*args): function timing_loop (line 63) | def timing_loop(n, mod=1000): FILE: experiments/bench_merge.py function make_boolean_timeseries_list (line 16) | def make_boolean_timeseries_list(k, n_transitions=2): function make_int_timeseries_list (line 29) | def make_int_timeseries_list(k, n_transitions=100): function bench (line 42) | def bench(label, func, repeat=3): function run_benchmarks (line 60) | def run_benchmarks(): FILE: experiments/bench_merge_strategies.py function naive_iter_merge (line 34) | def naive_iter_merge(timeseries_list): function naive_merge (line 51) | def naive_merge(ts_list, operation=None): function heapq_iter_merge_transitions (line 66) | def heapq_iter_merge_transitions(timeseries_list): function heapq_iter_merge (line 95) | def heapq_iter_merge(timeseries_list): function heapq_merge (line 115) | def heapq_merge(ts_list, operation=None): function make_boolean_ts_list (line 134) | def make_boolean_ts_list(k, n_per_series=2): function make_int_ts_list (line 147) | def make_int_ts_list(k, n_per_series=100): function bench (line 160) | def bench(label, func, repeat=3): function print_row (line 177) | def print_row(label, time_s, mem_kb): function run (line 181) | def run(): FILE: experiments/bench_sorted_dict.py function bench (line 24) | def bench(setup, stmt_local, stmt_sc, number=None, repeat=3): function fmt_time (line 40) | def fmt_time(t): function run_benchmarks (line 51) | def run_benchmarks(): FILE: experiments/bench_tickets.py function make_ticket_data (line 27) | def make_ticket_data(n_tickets): function approach_timeseries_merge_sum (line 37) | def approach_timeseries_merge_sum(tickets): function approach_timeseries_count_by_value (line 48) | def approach_timeseries_count_by_value(tickets): function approach_eventseries_count_active (line 60) | def approach_eventseries_count_active(tickets): function bench (line 67) | def bench(label, func, repeat=5): function run (line 85) | def run(): FILE: experiments/sorted_dict_replacement.py class DictTimeSeries (line 22) | class DictTimeSeries: method __init__ (line 25) | def __init__(self, data=None, default=None): method set_many (line 32) | def set_many(self, data): method set (line 39) | def set(self, time, value): method __setitem__ (line 46) | def __setitem__(self, time, value): method get (line 49) | def get(self, time): method __getitem__ (line 58) | def __getitem__(self, time): method __delitem__ (line 61) | def __delitem__(self, time): method __len__ (line 69) | def __len__(self): method __bool__ (line 72) | def __bool__(self): method __iter__ (line 75) | def __iter__(self): method items (line 78) | def items(self): method first_key (line 81) | def first_key(self): method last_key (line 84) | def last_key(self): method get_item_by_index (line 87) | def get_item_by_index(self, index): method iterperiods (line 93) | def iterperiods(self, start=None, end=None): method distribution (line 121) | def distribution(self, start=None, end=None): method set_interval (line 130) | def set_interval(self, start, end, value): method n_points (line 146) | def n_points(self, start=None, end=None): method compact (line 159) | def compact(self): class SortedDictTimeSeries (line 176) | class SortedDictTimeSeries: method __init__ (line 179) | def __init__(self, data=None, default=None): method set_many (line 183) | def set_many(self, data): method set (line 187) | def set(self, time, value): method __setitem__ (line 190) | def __setitem__(self, time, value): method get (line 193) | def get(self, time): method __getitem__ (line 202) | def __getitem__(self, time): method __delitem__ (line 205) | def __delitem__(self, time): method __len__ (line 208) | def __len__(self): method __bool__ (line 211) | def __bool__(self): method __iter__ (line 214) | def __iter__(self): method items (line 217) | def items(self): method first_key (line 220) | def first_key(self): method last_key (line 223) | def last_key(self): method get_item_by_index (line 226) | def get_item_by_index(self, index): method iterperiods (line 229) | def iterperiods(self, start=None, end=None): method distribution (line 254) | def distribution(self, start=None, end=None): method set_interval (line 261) | def set_interval(self, start, end, value): method n_points (line 268) | def n_points(self, start=None, end=None): method compact (line 275) | def compact(self): function merge_simple (line 291) | def merge_simple(ts_list, operation=None): function merge_pq (line 309) | def merge_pq(ts_list, operation=None): function verify_correctness (line 372) | def verify_correctness(): function bench (line 450) | def bench(description, setup, stmt_dict, stmt_sorted, number=None, repea... function run_benchmarks (line 476) | def run_benchmarks(): function bench_merge (line 689) | def bench_merge( function run_merge_benchmarks (line 715) | def run_merge_benchmarks(): FILE: tests/test_compact.py function test_compact (line 6) | def test_compact(): FILE: tests/test_distribution.py function test_distribution (line 8) | def test_distribution(): function test_default_values (line 34) | def test_default_values(): function test_mask (line 51) | def test_mask(): function test_integer_times (line 86) | def test_integer_times(): function test_distribution_set (line 100) | def test_distribution_set(): function test_distribution_empty (line 111) | def test_distribution_empty(): function test_none_handling (line 152) | def test_none_handling(): function test_timestamp_range (line 163) | def test_timestamp_range(): FILE: tests/test_distribution_external.py function test_pandas_timestamp_range (line 6) | def test_pandas_timestamp_range(): FILE: tests/test_docs.py function test_quickstart (line 6) | def test_quickstart(): function test_reference (line 24) | def test_reference(): FILE: tests/test_eventseries.py function test_init_data (line 4) | def test_init_data(): function test_count_active (line 14) | def test_count_active(): function test_cumulative_sum (line 28) | def test_cumulative_sum(): function test_events_between (line 34) | def test_events_between(): FILE: tests/test_eventseries_external.py function test_cumsum (line 6) | def test_cumsum(): function test_events_between (line 49) | def test_events_between(): function test_time_lag (line 118) | def test_time_lag(): FILE: tests/test_histogram.py function test_normalize (line 4) | def test_normalize(): function test_addition (line 12) | def test_addition(): function test_minmax_with_zeros (line 20) | def test_minmax_with_zeros(): function test_histogram_stats_with_nones (line 32) | def test_histogram_stats_with_nones(): FILE: tests/test_histogram_external.py function test_quantiles (line 8) | def test_quantiles(): function _test_statistics (line 24) | def _test_statistics(normalized): function test_statistics (line 65) | def test_statistics(): function test_normalized_statistics (line 69) | def test_normalized_statistics(): function test_quantile_interpolation (line 73) | def test_quantile_interpolation(): FILE: tests/test_improved_methods.py class TestImprovedMethods (line 8) | class TestImprovedMethods: method test_exists_method_deprecation_warning (line 11) | def test_exists_method_deprecation_warning(self): method test_is_not_none_method (line 29) | def test_is_not_none_method(self): method test_is_not_none_with_default (line 44) | def test_is_not_none_with_default(self): method test_exists_matches_is_not_none (line 56) | def test_exists_matches_is_not_none(self): class TestStringRepresentation (line 75) | class TestStringRepresentation: method test_repr_shows_default (line 78) | def test_repr_shows_default(self): method test_str_shows_default (line 87) | def test_str_shows_default(self): method test_str_truncation (line 95) | def test_str_truncation(self): FILE: tests/test_iterators.py function test_iterintervals (line 10) | def test_iterintervals(): function test_iterperiods (line 24) | def test_iterperiods(): function test_slice (line 76) | def test_slice(): function make_random_timeseries (line 91) | def make_random_timeseries(): function test_merge (line 102) | def test_merge(): function test_single_merges (line 119) | def test_single_merges(): function test_iter_merge_transitions_empty (line 168) | def test_iter_merge_transitions_empty(): function test_iter_merge_transitions_single (line 172) | def test_iter_merge_transitions_single(): function test_iter_merge_transitions_multiple (line 184) | def test_iter_merge_transitions_multiple(): function test_iter_merge_transitions_tied_times (line 203) | def test_iter_merge_transitions_tied_times(): function test_iter_merge_transitions_preserves_previous_value (line 217) | def test_iter_merge_transitions_preserves_previous_value(): function test_count_by_value_empty (line 231) | def test_count_by_value_empty(): function test_count_by_value_boolean (line 235) | def test_count_by_value_boolean(): function test_count_by_value_multi_state (line 280) | def test_count_by_value_multi_state(): function test_count_by_value_single_series (line 313) | def test_count_by_value_single_series(): FILE: tests/test_json_io.py class TestJsonIO (line 13) | class TestJsonIO: method test_to_json_list_format (line 16) | def test_to_json_list_format(self): method test_to_json_dict_format (line 33) | def test_to_json_dict_format(self): method test_to_json_with_custom_transform (line 47) | def test_to_json_with_custom_transform(self): method test_to_json_file_output (line 67) | def test_to_json_file_output(self): method test_from_json_list_format (line 99) | def test_from_json_list_format(self): method test_from_json_dict_format (line 114) | def test_from_json_dict_format(self): method test_from_json_with_custom_keys (line 127) | def test_from_json_with_custom_keys(self): method test_from_json_with_custom_transform (line 144) | def test_from_json_with_custom_transform(self): method test_from_json_file (line 175) | def test_from_json_file(self): method test_from_json_invalid_format (line 201) | def test_from_json_invalid_format(self): method test_from_json_missing_source (line 210) | def test_from_json_missing_source(self): method test_roundtrip_json (line 217) | def test_roundtrip_json(self): FILE: tests/test_methods.py function _make_ts (line 34) | def _make_ts(type_, key_list, value_list): function frange (line 41) | def frange(x, y, jump): function test_mean (line 47) | def test_mean(): function test_mean_interpolate (line 69) | def test_mean_interpolate(): function test_sample (line 90) | def test_sample(): function test_moving_average (line 139) | def test_moving_average(): function test_to_bool (line 226) | def test_to_bool(): function test_get_item_by_index (line 239) | def test_get_item_by_index(): function test_bin (line 254) | def test_bin(): function test_rebin (line 286) | def test_rebin(): function test_npoints (line 290) | def test_npoints(): function test_radd (line 331) | def test_radd(): function test_repr (line 351) | def test_repr(): FILE: tests/test_methods_external.py function test_sample_pandas_compatibility (line 7) | def test_sample_pandas_compatibility(): function test_moving_average_pandas_compatibility (line 14) | def test_moving_average_pandas_compatibility(): function test_moving_average_pandas_flag (line 22) | def test_moving_average_pandas_flag(): FILE: tests/test_missing.py function test_missing (line 6) | def test_missing(): FILE: tests/test_operations.py function test_scalar_ops (line 9) | def test_scalar_ops(): function test_sum (line 44) | def test_sum(): function test_interpolation (line 87) | def test_interpolation(): function test_default (line 102) | def test_default(): function test_difference (line 114) | def test_difference(): function test_to_bool_default (line 122) | def test_to_bool_default(): function test_truthiness (line 170) | def test_truthiness(): function test_logical_operations (line 179) | def test_logical_operations(): FILE: tests/test_plot.py function _make_ts (line 10) | def _make_ts(): function test_message_when_matplotlib_not_installed (line 17) | def test_message_when_matplotlib_not_installed(): FILE: tests/test_plot_external.py function test_plot (line 12) | def test_plot(): function test_invalid_call (line 23) | def test_invalid_call(): function test_empty (line 35) | def test_empty(): FILE: tests/test_something.py function test_compact (line 6) | def test_compact(): function test_remove (line 27) | def test_remove(): function test_last_item (line 47) | def test_last_item(): FILE: tests/test_sorted_dict.py function test_insert_maintains_sorted_order (line 4) | def test_insert_maintains_sorted_order(): function test_overwrite_does_not_duplicate_key (line 14) | def test_overwrite_does_not_duplicate_key(): function test_delete (line 23) | def test_delete(): function test_update_from_dict (line 31) | def test_update_from_dict(): function test_update_from_sorted_dict (line 38) | def test_update_from_sorted_dict(): function test_update_from_pairs (line 45) | def test_update_from_pairs(): function test_init_from_dict (line 51) | def test_init_from_dict(): function test_peekitem (line 56) | def test_peekitem(): function test_bisect (line 63) | def test_bisect(): function test_irange_inclusive (line 71) | def test_irange_inclusive(): function test_delete_range (line 79) | def test_delete_range(): function test_delete_range_exclusive (line 86) | def test_delete_range_exclusive(): function test_islice (line 92) | def test_islice(): function test_empty (line 98) | def test_empty(): function test_bool (line 106) | def test_bool(): function test_eq (line 113) | def test_eq(): function test_repr (line 119) | def test_repr(): FILE: tests/test_traces.py function test_init_data (line 11) | def test_init_data(): function test_get (line 43) | def test_get(): function test_exists (line 56) | def test_exists(): function test_merge (line 66) | def test_merge(): function test_set_interval (line 80) | def test_set_interval(): function test_set_interval_datetime (line 130) | def test_set_interval_datetime(): function test_remove_points_from_interval (line 143) | def test_remove_points_from_interval(): function test_pickle (line 170) | def test_pickle(): function test_csv (line 182) | def test_csv(): function test_set_same_interval_twice (line 239) | def test_set_same_interval_twice(): function test_set_many_from_pairs (line 249) | def test_set_many_from_pairs(): function test_set_many_from_dict (line 255) | def test_set_many_from_dict(): function test_set_many_merges_with_existing (line 261) | def test_set_many_merges_with_existing(): function test_set_many_overwrites (line 267) | def test_set_many_overwrites(): function test_set_many_equivalent_to_init (line 274) | def test_set_many_equivalent_to_init(): function test_convenience_access_methods (line 282) | def test_convenience_access_methods(): FILE: tests/test_traces_external.py function test_csv (line 12) | def test_csv(): function test_sample_interval_days (line 32) | def test_sample_interval_days(): function test_sample_interval_hours (line 76) | def test_sample_interval_hours(): function test_sample_interval_index (line 122) | def test_sample_interval_index(): FILE: tests/test_utils.py function test_duration_to_number (line 20) | def test_duration_to_number(): function test_convert_args_to_list (line 35) | def test_convert_args_to_list(): function test_datetime_range (line 79) | def test_datetime_range(): function test_datetime_floor (line 126) | def test_datetime_floor(): function test_weekday_number (line 162) | def test_weekday_number(): FILE: traces/decorators.py function _is_none (line 5) | def _is_none(obj): function ignorant (line 9) | def ignorant(func): function strict (line 18) | def strict(func): FILE: traces/eventseries.py class EventSeries (line 15) | class EventSeries(list): method __init__ (line 54) | def __init__(self, data=None): method append (line 65) | def append(self, value): method extend (line 69) | def extend(self, values): method bisect_left (line 74) | def bisect_left(self, value): method bisect_right (line 78) | def bisect_right(self, value): method cumsum (line 82) | def cumsum(self): method cumulative_sum (line 90) | def cumulative_sum(self): method events_between (line 121) | def events_between(self, start, end): method iter_interevent_times (line 147) | def iter_interevent_times(self): method count_active (line 177) | def count_active(es_open, es_closed): FILE: traces/histogram.py class UnorderableElements (line 6) | class UnorderableElements(TypeError): class UnhashableType (line 10) | class UnhashableType(TypeError): class Histogram (line 14) | class Histogram: method from_dict (line 16) | def from_dict(cls, in_dict): method __init__ (line 22) | def __init__(self, data=()): method _use_unsorted (line 28) | def _use_unsorted(self): method __getitem__ (line 32) | def __getitem__(self, key): method __setitem__ (line 45) | def __setitem__(self, key, value): method __contains__ (line 62) | def __contains__(self, key): method __len__ (line 65) | def __len__(self): method __bool__ (line 68) | def __bool__(self): method __iter__ (line 71) | def __iter__(self): method __eq__ (line 74) | def __eq__(self, other): method __ne__ (line 79) | def __ne__(self, other): method keys (line 85) | def keys(self): method values (line 90) | def values(self): method items (line 95) | def items(self): method total (line 100) | def total(self): method _prepare_for_stats (line 104) | def _prepare_for_stats(self): method mean (line 110) | def mean(self): method variance (line 119) | def variance(self): method standard_deviation (line 131) | def standard_deviation(self): method normalized (line 139) | def normalized(self): method _discard_value (line 150) | def _discard_value(self, value): method max (line 158) | def max(self, include_zero=False): method min (line 165) | def min(self, include_zero=False): method _quantile_function (line 172) | def _quantile_function(self, alpha=0.5, smallest_count=None): # noqa:... method median (line 249) | def median(self, alpha=0.5, smallest_count=None): method quantiles (line 252) | def quantiles(self, q_list, alpha=0.5, smallest_count=None): method quantile (line 256) | def quantile(self, q, alpha=0.5, smallest_count=None): method add (line 263) | def add(self, other): FILE: traces/infinity.py class Infinity (line 40) | class Infinity: method __init__ (line 41) | def __init__(self, positive=True): method __neg__ (line 44) | def __neg__(self): method __gt__ (line 47) | def __gt__(self, other): method __eq__ (line 52) | def __eq__(self, other): method __ne__ (line 62) | def __ne__(self, other): method __bool__ (line 65) | def __bool__(self): method __nonzero__ (line 68) | def __nonzero__(self): method __str__ (line 71) | def __str__(self): method __float__ (line 74) | def __float__(self): method __add__ (line 77) | def __add__(self, other): method __radd__ (line 82) | def __radd__(self, other): method __sub__ (line 85) | def __sub__(self, other): method __rsub__ (line 90) | def __rsub__(self, other): method timetuple (line 93) | def timetuple(self): method __abs__ (line 96) | def __abs__(self): method __pos__ (line 99) | def __pos__(self): method __div__ (line 102) | def __div__(self, other): method __rdiv__ (line 110) | def __rdiv__(self, other): method __repr__ (line 113) | def __repr__(self): method __mul__ (line 121) | def __mul__(self, other): method __pow__ (line 130) | def __pow__(self, other): method __rpow__ (line 138) | def __rpow__(self, other): method __hash__ (line 146) | def __hash__(self): function is_infinite (line 153) | def is_infinite(value): FILE: traces/operations.py function ignorant_sum (line 5) | def ignorant_sum(*args, **kwargs): function strict_sum (line 10) | def strict_sum(*args, **kwargs): FILE: traces/plot.py function plot (line 50) | def plot( FILE: traces/sorted_dict.py class SortedDict (line 11) | class SortedDict: method __init__ (line 20) | def __init__(self, data=None): method update (line 26) | def update(self, data): method __getitem__ (line 33) | def __getitem__(self, key): method __setitem__ (line 36) | def __setitem__(self, key, value): method __delitem__ (line 41) | def __delitem__(self, key): method __contains__ (line 46) | def __contains__(self, key): method __len__ (line 49) | def __len__(self): method __bool__ (line 52) | def __bool__(self): method __iter__ (line 55) | def __iter__(self): method __eq__ (line 58) | def __eq__(self, other): method __repr__ (line 63) | def __repr__(self): method keys (line 67) | def keys(self): method values (line 71) | def values(self): method items (line 74) | def items(self): method peekitem (line 81) | def peekitem(self, index=-1): method bisect_left (line 86) | def bisect_left(self, key): method bisect_right (line 89) | def bisect_right(self, key): method islice (line 92) | def islice(self, start=None, stop=None): method _range_indices (line 96) | def _range_indices(self, minimum, maximum, inclusive=(True, True)): method delete_range (line 109) | def delete_range(self, minimum, maximum, inclusive=(True, True)): method irange (line 125) | def irange(self, minimum, maximum, inclusive=(True, True)): FILE: traces/timeseries.py class TimeSeries (line 20) | class TimeSeries: method __init__ (line 47) | def __init__(self, data=None, default=None): method __getstate__ (line 51) | def __getstate__(self): method __setstate__ (line 57) | def __setstate__(self, state): method __iter__ (line 60) | def __iter__(self): method __bool__ (line 64) | def __bool__(self): method is_empty (line 67) | def is_empty(self): method linear_interpolate (line 71) | def linear_interpolate(v0, v1, t): method scaled_time (line 75) | def scaled_time(t0, t1, time): method _get_linear_interpolate (line 78) | def _get_linear_interpolate(self, time): method _get_previous (line 91) | def _get_previous(self, time): method get (line 112) | def get(self, time, interpolate="previous"): method get_item_by_index (line 154) | def get_item_by_index(self, index): method last_item (line 158) | def last_item(self): method last_key (line 162) | def last_key(self): method last_value (line 166) | def last_value(self): method first_item (line 170) | def first_item(self): method first_key (line 174) | def first_key(self): method first_value (line 178) | def first_value(self): method set (line 182) | def set(self, time, value, compact=False): method set_many (line 194) | def set_many(self, data, compact=False): method set_interval (line 224) | def set_interval(self, start, end, value, compact=False): method compact (line 273) | def compact(self): method items (line 300) | def items(self): method exists (line 304) | def exists(self): method is_not_none (line 330) | def is_not_none(self): method remove (line 356) | def remove(self, time): method remove_points_from_interval (line 367) | def remove_points_from_interval(self, start, end): method n_measurements (line 390) | def n_measurements(self): method __len__ (line 394) | def __len__(self): method __repr__ (line 398) | def __repr__(self): method __str__ (line 412) | def __str__(self): method iterintervals (line 450) | def iterintervals(self, n=2): method _value_function (line 475) | def _value_function(value): method iterperiods (line 499) | def iterperiods(self, start=None, end=None, value=None): method slice (line 542) | def slice(self, start, end): method _check_regularization (line 559) | def _check_regularization(self, start, end, sampling_period=None): method sample (line 592) | def sample( method sample_interval (line 616) | def sample_interval( # noqa: C901 method moving_average (line 747) | def moving_average( # noqa: C901 method rebin (line 820) | def rebin(binned, key_function): method bin (line 831) | def bin( method mean (line 868) | def mean(self, start=None, end=None, mask=None, interpolate="previous"): method distribution (line 877) | def distribution( method n_points (line 939) | def n_points( method _check_time_series (line 997) | def _check_time_series(self, other): method iter_merge_transitions (line 1007) | def iter_merge_transitions(timeseries_list): method iter_merge (line 1049) | def iter_merge(cls, timeseries_list): method merge (line 1080) | def merge(cls, ts_list, compact=True, operation=None): method _flush_pending (line 1102) | def _flush_pending(pending, t, counts, result_data): method count_by_value (line 1110) | def count_by_value(cls, ts_list): method from_csv (line 1173) | def from_csv( method from_json (line 1242) | def from_json( method to_json (line 1335) | def to_json( method operation (line 1399) | def operation(self, other, function, default=None): method to_bool (line 1430) | def to_bool(self, invert=False, default=NotGiven): method threshold (line 1469) | def threshold(self, value, inclusive=False): method sum (line 1490) | def sum(self, other): method difference (line 1499) | def difference(self, other): method multiply (line 1503) | def multiply(self, other): method logical_and (line 1507) | def logical_and(self, other): method logical_or (line 1511) | def logical_or(self, other): method logical_xor (line 1515) | def logical_xor(self, other): method __setitem__ (line 1519) | def __setitem__(self, time, value): method __getitem__ (line 1526) | def __getitem__(self, time): method __delitem__ (line 1534) | def __delitem__(self, time): method __add__ (line 1541) | def __add__(self, other): method __radd__ (line 1545) | def __radd__(self, other): method __sub__ (line 1557) | def __sub__(self, other): method __mul__ (line 1561) | def __mul__(self, other): method __and__ (line 1565) | def __and__(self, other): method __or__ (line 1569) | def __or__(self, other): method __xor__ (line 1573) | def __xor__(self, other): method __invert__ (line 1577) | def __invert__(self): method __eq__ (line 1581) | def __eq__(self, other): method __ne__ (line 1584) | def __ne__(self, other): method _check_boundary (line 1587) | def _check_boundary(self, value, allow_infinite, lower_or_upper): method _check_boundaries (line 1616) | def _check_boundaries(self, start, end, mask=None, allow_infinite=False): method distribution_by_hour_of_day (line 1641) | def distribution_by_hour_of_day( method distribution_by_day_of_week (line 1653) | def distribution_by_day_of_week( method plot (line 1665) | def plot( function hour_of_day (line 1733) | def hour_of_day(start, end, hour): function day_of_week (line 1751) | def day_of_week(start, end, weekday): FILE: traces/utils.py function duration_to_number (line 8) | def duration_to_number(duration, units="seconds"): function time_midpoint (line 32) | def time_midpoint(t0, t1): function convert_args_to_list (line 42) | def convert_args_to_list(args): function datetime_range (line 76) | def datetime_range(start_dt, end_dt, unit, n_units=1, inclusive_end=False): function floor_datetime (line 91) | def floor_datetime(dt, unit, n_units=1): function datetime_floor (line 131) | def datetime_floor(value, unit="days", n_units=1): function weekday_number (line 158) | def weekday_number(value): function pairwise (line 179) | def pairwise(iterable):