docstr: Check DataSet for decimal commas and fix them
docstr_tok: ["Check","DataSet","for","decimal","commas","and","fix","them"]
code: def __correct_decimal_comma(self):
      """Check DataSet for decimal commas and fix them"""
      # self.logger.info("Correct decimal commas")
      tmp = self.data.head(10)
      # all columns with sep="," will have dtype == 'object', i.e string
      # sep="." will be casted to numeric automatically
      cls_to_check = [i for i in tmp.columns if is_string_dtype(tmp[i])]
      for col in cls_to_check:
          if (
              tmp[col]
              .astype("string")
              .str.match("^[0-9]+,[0-9]*$")
              .any()
          ):
              self.data[col] = (
                  self.data[col]
                  .astype("string")
                  .str.replace(",", ".")
                  .astype(np.float64)
              )
  
imports: import csv
  import hashlib
  import logging
  import tempfile
  import time
  from ipaddress import IPv4Address, IPv6Address, _BaseAddress, ip_address
  from pathlib import Path
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import numpy
  import pandas
  from pandas.api.types import is_bool_dtype
  from pandas.api.types import is_datetime64_any_dtype
  from pandas.api.types import is_float_dtype, is_integer_dtype, is_numeric_dtype, is_string_dtype
  from pandas.core.dtypes.common import is_period_dtype
  from upgini.errors import ValidationError
  from upgini.http import ProgressStage, SearchProgress, get_rest_client
  from upgini.metadata import EVAL_SET_INDEX, SYSTEM_COLUMNS, SYSTEM_RECORD_ID, TARGET, DataType, FeaturesFilter, FileColumnMeaningType, FileColumnMetadata, FileMetadata, FileMetrics, ModelTaskType, NumericInterval, RuntimeParameters, SearchCustomization
  from upgini.normalizer.phone_normalizer import PhoneNormalizer
  from upgini.resource_bundle import bundle
  from upgini.sampler.random_under_sampler import RandomUnderSampler
  from upgini.search_task import SearchTask
  from upgini.utils import combine_search_keys
  from upgini.utils.email_utils import EmailSearchKeyConverter
  from upgini.utils.warning_counter import WarningCounter
label_desc: Use image node_id 14 for calling the Dataset obj's underlying member method code with example usage: obj.__correct_decimal_comma() without return types