code: def split_s3_path(url):
      """Split a full s3 path into the bucket name and path."""
      parsed = urlparse(url)
      if not parsed.netloc or not parsed.path:
          raise ValueError("bad s3 path {}".format(url))
      bucket_name = parsed.netloc
      s3_path = parsed.path
      # Remove '/' at beginning of path.
      if s3_path.startswith("/"):
          s3_path = s3_path[1:]
      return bucket_name, s3_path
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import json
  import logging
  import os
  import tempfile
  import tarfile
  import zipfile
  from functools import wraps
  from hashlib import sha256
  from io import open
  from pathlib import Path
  import boto3
  import numpy
  import requests
  from botocore.exceptions import ClientError
  from dotmap import DotMap
  from tqdm import tqdm
  from transformers.file_utils import cached_path
label_desc: Use image node_id 4 for calling a global function with example usage: split_s3_path(url) and returns: bucket_name,  s3_path