def METHOD_NAME():
    table = sc.data.table_xyz(100)
    table.coords['param'] = (table.coords.pop('y') * 10).to(dtype='int64')
    da = table.bin(x=10)
    param = sc.scalar(4, unit='m')
    result = da.bins['param', param]
    assert result.dims == da.dims
    assert sc.identical(result.coords['param'], param)
    assert not result.coords['param'].aligned
    assert sc.identical(
        result,
        da.group(
            sc.array(dims=['param'], values=[4], dtype='int64', unit='m')
        ).squeeze(),
    )