def METHOD_NAME():
    table = sc.data.table_xyz(100)
    da = table.bin(x=10)
    split = sc.scalar(0.4, unit='m')
    left = da.bins['z', :split]
    right = da.bins['z', split:]
    assert left.bins.size().sum().value + right.bins.size().sum().value == 100
    assert sc.identical(
        left.meta['z'], sc.concat([da.bins.meta['z'].min(), split], 'z')
    )
    import numpy as np
    expected_stop = np.nextafter(da.bins.meta['z'].max().value, np.inf) * sc.Unit('m')
    assert sc.identical(right.meta['z'], sc.concat([split, expected_stop], 'z'))