def total_weight_from_comm(self, comm):
return _c_louvain._MutableVertexPartition_total_weight_from_comm(self._partition, comm)<EOL>
The total weight (i.e. number of edges) from a community.

        Parameters
        ----------
        comm
          Community

        Notes
        -----
        This includes all edges, also the ones that are internal to a community.
        Sometimes this is also referred to as the community (out)degree.

        See Also
        --------
        :func:`~VertexPartition.MutableVertexPartition.total_weight_to_comm`

        :func:`~VertexPartition.MutableVertexPartition.total_weight_in_comm`

        :func:`~VertexPartition.MutableVertexPartition.total_weight_in_all_comms`