class_docstr: Chicago taxi dataset.
class_docstr_tok: ["Chicago","taxi","dataset","."]
code: def num_examples(self, limit=None):
      result = 1000000
      if limit:
          result = min(result, limit)
      return result
  
imports: import itertools
  import math
  import os
  import shutil
  import tempfile
  from typing import Optional
  from absl import logging
  import apache_beam
  import tensorflow_transform
  from tfx import components
  from tfx.benchmarks import benchmark_dataset
  from tfx.components.example_gen.csv_example_gen import executor
  from tfx.examples.chicago_taxi_pipeline import taxi_utils
  from tfx.orchestration import metadata
  from tfx.orchestration import pipeline
  from tfx.orchestration.beam.beam_dag_runner import BeamDagRunner
  from tfx.proto import trainer_pb2
  from tfx_bsl.coders import csv_decoder
label_desc: Use image node_id 7 for calling the ChicagoTaxiDataset obj's underlying member method code with example usage: obj.num_examples(limit) and returns: result