14.8 Insert blank row when meeting with data change

 

Here below is a data table:

imagepng

We want to insert one blank row when the values in two adjacent rows change, the result is as follows:

imagepng

Script:

=spl("=?1.conj().group@o(~).(~|[null]).conj().new(~:_1)",A1:A9)

https://c.scudata.com/article/1651916536524
https://c.scudata.com/article/1658708353107
https://c.scudata.com/article/1658803623627