pandas_streaming.data

Collection of functions which produces StreamingDataFrame.

pandas_streaming.data.dummy.dummy_streaming_dataframe(n, chunksize=10, asfloat=False, **cols)[source][source]

Returns a dummy streaming dataframe mostly for unit test purposes.

Parameters:
  • n – number of rows

  • chunksize – chunk size

  • asfloat – use random float and not random int

  • cols – additional columns

Returns:

a @see cl StreamingDataFrame