Table of Contents

Class FormatToPython

Namespace
Bonsai.ML.Python
Assembly
Bonsai.ML.Python.dll

Represents an operator that can convert an object into a properly formatted string that is consistent with python syntax. For example, a tuple (1, 2, 3) will be converted to the string "(1, 2, 3)". A list of [0, 1, 2] will be converted to the string "[0, 1, 2]".

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class FormatToPython
Inheritance
FormatToPython
Inherited Members

Methods

Process<TSource>(IObservable<TSource>)

Transforms the elements of an observable sequence into a properly formatted string that is consistent with python syntax.

public IObservable<string> Process<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

Returns

IObservable<string>

Type Parameters

TSource