dataframe

package
v2.44.0-RC1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package dataframe is a wrapper for DataframeTransform defined in Apache Beam Python SDK. An exapnsion service for python external transforms can be started by running $ python -m apache_beam.runners.portability.expansion_service_main -p $PORT_FOR_EXPANSION_SERVICE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform

func Transform(s beam.Scope, fn string, col beam.PCollection, outT reflect.Type, opts ...configOption) beam.PCollection

Transform is a multi-language wrapper for a Python DataframeTransform with a given lambda function. lambda function is a required parameter. Additional option for including indexes in dataframe can be provided by using dataframe.WithIndexes().

func WithExpansionAddr

func WithExpansionAddr(expansionAddr string) configOption

WithExpansionAddr sets an URL for a Python expansion service.

func WithIndexes

func WithIndexes() configOption

WithIndexes sets include_indexes option for DataframeTransform.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL