code: def dump_stream(self, iterator, stream):
          
          batches = (self._create_batch(series) for series in iterator)
          super(ArrowStreamPandasSerializer, self).dump_stream(batches, stream)
docs: Make ArrowRecordBatches from Pandas Series and serialize. Input is a single series or
          a list of series accompanied by an optional pyarrow type to coerce the data to.