StreamInfoData#

class servicex.servicex.StreamInfoData(file: str, data: Any)[source]#

Bases: StreamInfoBase

Contains information about results that are streamed back from ServiceX. Used when data (pandas or awkward) is requested. The data is downloaded from ServiceX, converted into the requested format, and then streamed to the user in these chunks. There is a single chunk per file.

__init__(file: str, data: Any)[source]#

Attributes

data#

The pandas.DataFrame or awkward array return

Returns:

Any: The ServiceX transformed data for this file.

file#

Returns the ServiceX filename

This filename is unique in the dataset, and will be the same across different queries against the dataset. It can be used as a key to sort results.

Notes:

  • May contains non-file system characters

Returns:

str: servicex filename

Methods