class_docstr: Stores all actual data and typing information for an entityset
  
  Attributes:
      id
      dataframe_dict
      relationships
      time_type
  
  Properties:
      metadata
class_docstr_tok: ["Stores","all","actual","data","and","typing","information","for","an","entityset","Attributes",":","id","dataframe_dict","relationships","time_type","Properties",":","metadata"]
code: def _normalize_values(self, dataframe):
      def replace(x, is_spark=False):
          if not isinstance(x, (list, tuple, np.ndarray)) and pd.isna(
              x
          ):
              if is_spark:
                  return [np.nan, np.nan]
              else:
                  return (np.nan, np.nan)
          else:
              return x
  
      for column, logical_type in dataframe.ww.logical_types.items():
          if isinstance(logical_type, LatLong):
              series = dataframe[column]
              if ps and isinstance(series, ps.Series):
                  if len(series):
                      dataframe[column] = dataframe[column].apply(
                          replace,
                          args=(True,),
                      )
              elif is_instance(dataframe, dd, "DataFrame"):
                  dataframe[column] = dataframe[column].apply(
                      replace,
                      meta=(column, logical_type.primary_dtype),
                  )
              else:
                  dataframe[column] = dataframe[column].apply(replace)
      return dataframe
  
imports: import copy
  import logging
  import warnings
  from collections import defaultdict
  import numpy
  import pandas
  from woodwork import init_series
  from woodwork.logical_types import Datetime, LatLong
  from featuretools.entityset import deserialize, serialize
  from featuretools.entityset.relationship import Relationship, RelationshipPath
  from featuretools.feature_base.feature_base import _ES_REF
  from featuretools.utils.gen_utils import Library, import_or_none, is_instance
  from featuretools.utils.plot_utils import check_graphviz, get_graphviz_format, save_graph
  from featuretools.utils.wrangle import _check_timedelta
label_desc: Use image node_id 46 for calling the EntitySet obj's underlying member method code with example usage: obj._normalize_values(dataframe) and returns: dataframe, x, list, np,  np