code: def add_embeddings_to_category(
      self, embeddings: np.array, cat: str
  ) -> None:
      if len(embeddings):
          embedding = embeddings.mean(axis=0)
          if embedding.shape[0] == self.embedding_width and not np.any(
              np.isnan(embedding)
          ):
              if cat in self.cat_stats:
                  self.cat_stats[cat].push(embedding)
              else:
                  self.cat_stats[
                      cat
                  ] = self._get_fresh_running_stats().push(embedding)
  
file_path: scattertext/scattertext/contextual_embeddings/corpus_runing_stats.py
imports: from typing import Optional
  import numpy
  from scattertext.contextual_embeddings.running_stats_array import RunningStatsArray
label_desc: Use image node_id 3 for calling the CorpusRunningStats obj's underlying member method code with example usage: obj.add_embeddings_to_category(embeddings, cat) without return types