code: def _remove_digits_from_str(x: str) -> str:
      return x.translate({ord(k): None for k in digits})
  
file_path: sktime/sktime/transformations/series/time_since.py
imports: from __future__ import annotations
  import datetime
  import warnings
  from string import digits
  import numpy
  import pandas
  from pandas.tseries.frequencies import get_period_alias
  from sktime.transformations.base import BaseTransformer
label_desc: Use image node_id 2 for calling a global function with example usage: _remove_digits_from_str(x) and returns: x