code: def _parse_bytes(s):
      """Parse byte string to numbers
  
      Utility function vendored from Dask.
  
      >>> _parse_bytes('100')
      100
      >>> _parse_bytes('100 MB')
      100000000
      >>> _parse_bytes('100M')
      100000000
      >>> _parse_bytes('5kB')
      5000
      >>> _parse_bytes('5.4 kB')
      5400
      >>> _parse_bytes('1kiB')
      1024
      >>> _parse_bytes('1e6')
      1000000
      >>> _parse_bytes('1e6 kB')
      1000000000
      >>> _parse_bytes('MB')
      1000000
      >>> _parse_bytes(123)
      123
      >>> _parse_bytes('5 foos')
      Traceback (most recent call last):
          ...
      ValueError: Could not interpret 'foos' as a byte unit
      """
      if isinstance(s, (int, float)):
          return int(s)
      s = s.replace(" ", "")
      if not any(char.isdigit() for char in s):
          s = "1" + s
  
      for i in range(len(s) - 1, -1, -1):
          if not s[i].isalpha():
              break
      index = i + 1
  
      prefix = s[:index]
      suffix = s[index:]
  
      try:
          n = float(prefix)
      except ValueError as e:
          raise ValueError(
              "Could not interpret '%s' as a number" % prefix
          ) from e
  
      try:
          multiplier = BYTE_SIZES[suffix.lower()]
      except KeyError as e:
          raise ValueError(
              "Could not interpret '%s' as a byte unit" % suffix
          ) from e
  
      result = n * multiplier
      return int(result)
  
imports: from __future__ import annotations
  import itertools
  import math
  import operator
  import shutil
  import tempfile
  import warnings
  from collections import defaultdict
  from contextlib import ExitStack
  from functools import partial, reduce
  from typing import Callable, Dict, List, Optional, Tuple
  from uuid import uuid4
  import numpy
  import pandas
  from pyarrow import dataset
  import cudf
  from cudf._lib import parquet
  from cudf.api.types import is_list_like
  from cudf.core.column import build_categorical_column, column_empty, full
  from cudf.utils import ioutils
  from cudf.utils.nvtx_annotation import _cudf_nvtx_annotate
label_desc: Use image node_id 16 for calling a global function with example usage: _parse_bytes(s) and returns: int, int