docstr: Parameters
  ----------
  ids: Sequence[int]
      The PDB ids to be selected
  year_file: str, optional (default None)
      The filepath for the PDBBind year selection
docstr_tok: ["Parameters","--","--","--","--","--","ids",":","Sequence","[","int","]","The","PDB","ids","to","be","selected","year_file",":","str",",","optional","(","default","None",")","The","filepath","for","the","PDBBind","year","selection"]
code: def __init__(
      self, ids: Sequence[int], year_file: Optional[str] = None
  ):
      """
      Parameters
      ----------
      ids: Sequence[int]
          The PDB ids to be selected
      year_file: str, optional (default None)
          The filepath for the PDBBind year selection
      """
      self.ids = ids
      self.year_file = year_file
  
imports: import inspect
  import itertools
  import logging
  import os
  import random
  import tempfile
  from typing import Any, Dict, Iterator, List, Optional, Sequence, Tuple, Union
  import deepchem
  import numpy
  import pandas
  from deepchem.data import Dataset, DiskDataset
  from deepchem.utils import get_print_threshold
label_desc: Use image node_id 1 to create a new TimeSplitterPDBbind object from inherited base classes: Splitter with example: obj = TimeSplitterPDBbind(ids, year_file)