BlobParquetDescriptor Class

Defines the public data accessor.

When you use an opendatasets class like ChicagoSafety, the BlobParquetDescriptor class is used internally to access the data.

Initialize blob parquet descriptor.

Inheritance
builtins.object
BlobParquetDescriptor

Constructor

BlobParquetDescriptor(blobInfo: BaseBlobInfo)

Parameters

Name Description
blobInfo
Required

Methods

get_pandas_dataframe

Get a pandas dataframe.

get_spark_dataframe

Get a spark dataframe.

get_pandas_dataframe

Get a pandas dataframe.

get_pandas_dataframe(inst)

Parameters

Name Description
inst
Required

Returns

Type Description

A pandas dataframe based on its own filters.

get_spark_dataframe

Get a spark dataframe.

get_spark_dataframe(inst)

Parameters

Name Description
inst
Required

Returns

Type Description

A spark dataframe based on its own filters.