def sizes(self, *args):
    'Returns the size of given clusters.\n\n        The indices are given as positional arguments. If there are no\n        positional arguments, the function will return the sizes of all clusters.\n        '
    if args:
        return [len(self._clusters[idx]) for idx in args]
    return [len(cluster) for cluster in self]
Returns the size of given clusters.

The indices are given as positional arguments. If there are no
positional arguments, the function will return the sizes of all clusters.
def sizes(self, *args):
    'Returns the size of given clusters.\n\n        The indices are given as positional arguments. If there are no\n        positional arguments, the function will return the sizes of all clusters.\n        '
    if args:
        return [len(self._clusters[idx]) for idx in args]
    return [len(cluster) for cluster in self]