熊猫指的是采样时间序列的组的开始和结束日期

时间:2019-12-25 20:33:44

标签: pandas time-series sample

我如何引用提取的开始日期和结束日期,以便使用date_range采样时间序列?

我现在得到“ DataFrame”对象没有属性“ date_range”。 (对于任何不会导致采样开始日期和结束日期出现错误的解决方案,我都会感到满意,因为不同的SN通常会有所不同)。

while read lineA; do
  while read lineB; do
    if [[ ${lineA##*/} == ${lineB##*/} ]]; then
      printf "${lineA##*/} and ${lineB##*/} match\n"
    else
      printf "${lineA##*/} and ${lineB##*/} don't match\n"
      printf "$lineA\n" >> file2 # Add Line if Not in file2
    fi
  done < file2
done < file

0 个答案:

没有答案