weqopy
10/7/2019 - 1:03 AM

[Daru::DateTimeIndex] daru time usage

[Daru::DateTimeIndex] daru time usage

ids = Daru::DateTimeIndex.new(['2019-01-01','2019-01-04','2019-02-01','2019-02-02','2019-03-03'])

df = Daru::DataFrame.new(
  {
    'row_1' => [1, 2, 3, 4, 5],
    'row_2' => [1, 2, 3, 4, 5],
    'row_3' => [1, 2, 3, 4, 5]
  },
  index: ids
)