0
$\begingroup$

I have some data like

     hr1 hr2 hr3 hr4 hr5 hr6 hr7
usr1 1  0   0   0   0   0   0
usr2 0  1   1   0   0   0   0
usr3 0  1   0   0   0   0   0
usr4 1  0   0   0   0   0   0
usr5 1  1   1   1   1   1   1

How to categorize this data in bins like hr1-hr3 and hr4-hr7 or any other bins

$\endgroup$
2
  • $\begingroup$ Please clarify the question.Do you want to count the total by column? And in which language at least? $\endgroup$
    – Erwan
    May 13, 2022 at 10:11
  • $\begingroup$ You can use the Hamming distance and some clustering algorithm. $\endgroup$
    – Valentas
    May 20, 2022 at 9:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.