class_docstr: Class defining categorical distribution type functionality
docstr: Renaming scheme for expanded categorical columns.
  NOTE: column is not renamed if catidx is 0.
  This is bc original column name needs to stay constant.
  
  Args:
      colname: The base column used in the renaming.
  
      catidx: The index of the categorical expansion.
  
  Returns:
      Updated column name.
docstr_tok: ["Renaming","scheme","for","expanded","categorical","columns",".","NOTE",":","column","is","not","renamed","if","catidx","is","0",".","This","is","bc","original","column","name","needs","to","stay","constant",".","Args",":","colname",":","The","base","column","used","in","the","renaming",".","catidx",":","The","index","of","the","categorical","expansion",".","Returns",":","Updated","column","name","."]
code: def make_node_name(colname: str, catidx: int) -> str:
      """
      Renaming scheme for expanded categorical columns.
      NOTE: column is not renamed if catidx is 0.
      This is bc original column name needs to stay constant.
  
      Args:
          colname: The base column used in the renaming.
  
          catidx: The index of the categorical expansion.
  
      Returns:
          Updated column name.
      """
      if catidx:
          return f"{colname}{catidx}"
      return colname
  
imports: from copy import deepcopy
  from typing import Dict, List, Tuple
  import numpy
  import torch
  from sklearn.preprocessing import OneHotEncoder
  from torch import nn
  from causalnex.structure.pytorch.dist_type._base import DistTypeBase, ExpandColumnsMixin
  from causalnex.structure.structuremodel import StructureModel
label_desc: Use image node_id 11 for calling the DistTypeCategorical obj's underlying member method code with example usage: obj.make_node_name(colname, catidx) and returns: colname, colname, catidx