code: def _get_mean_var(X):
      """Calculate the mean and variance of a variable."""
      mean = X.mean()
      var = X.var()
  
      return [mean, var]
  
imports: from matplotlib import pyplot
  import logging
  import numpy
  import pandas
  import seaborn
  from lightgbm import LGBMRegressor
  from ..inference.meta.tmle import TMLELearner
label_desc: Use image node_id 19 for calling a global function with example usage: _get_mean_var(X) and returns: list