title: Finding repetitive pattern in data
body: <p>Currently, I am working on a dataframe which displays pass(0)/fail(1) status of testcases on per day run. Example below:</p>
  <pre><code>timestamp   test_identifier test_status
  22-08-2022 07:00    test1   0
  22-08-2022 07:00    test2   1
  22-08-2022 07:00    test3   0
  22-08-2022 07:00    test4   1
  22-08-2022 07:00    test5   0
  23-08-2022 07:00    test1   1
  23-08-2022 07:00    test2   0
  23-08-2022 07:00    test3   0
  23-08-2022 07:00    test4   0
  23-08-2022 07:00    test5   0
  24-08-2022 07:00    test1   0
  24-08-2022 07:00    test2   0
  24-08-2022 07:00    test3   0
  24-08-2022 07:00    test4   0
  24-08-2022 07:00    test5   0
  25-08-2022 07:00    test1   1
  25-08-2022 07:00    test2   1
  25-08-2022 07:00    test3   0
  25-08-2022 07:00    test4   1
  25-08-2022 07:00    test5   0
  26-08-2022 07:00    test1   0
  26-08-2022 07:00    test2   0
  26-08-2022 07:00    test3   0
  26-08-2022 07:00    test4   0
  26-08-2022 07:00    test5   0
  </code></pre>
  <p>We can see some test cases like <code>test2</code> and <code>test4</code> are getting failed in a certain pattern i.e these are getting failed in every two days</p>
  <pre><code>timestamp   test_identifier test_status
  22-08-2022 07:00    test1   0
  22-08-2022 07:00    test2   1
  22-08-2022 07:00    test3   0
  22-08-2022 07:00    test4   1
  22-08-2022 07:00    test5   0
  ...........
  25-08-2022 07:00    test1   0
  25-08-2022 07:00    test2   1
  25-08-2022 07:00    test3   0
  25-08-2022 07:00    test4   1
  25-08-2022 07:00    test5   0
  </code></pre>
  <p>Another example is <code>test1</code> which is getting failed in every alternate day.</p>
  <p>I need to identify if we can recognize this pattern and frequency in which test cases are getting failed and can group them into a cluster. Any lead will be helpful</p>