You have more rows than what you thought because your have 2,118 unique values in your column _parent_index
=COUNT(UNIQUE(CO:CO))-1
Then I used this formula in A2 of a blank sheet
=SEQUENCE(2118)
And this formula in cell B2, copied dow:
=TOROW(FILTER(Child_attendance!A:CL,Child_attendance!CO:CO=A2))
But then I changed to this to show blanks instead of 0 when the cells are blank:
=TOROW(IF(FILTER(Child_attendance!A:CL,Child_attendance!CO:CO=A2)="","",FILTER(Child_attendance!A:CL,Child_attendance!CO:CO=A2)))
Then I just copied the 90 headers across the top for 90x13 = 1170 columns, and added the date format to the columns of dates.