Skip to content

Data Overview

Welcome to Flojoy’s Data Blocks page. Here you can find all the blocks related to data generation and visualization.

GENERATION

SAMPLE_DATASETS

PLOTLY_DATASETRetrieve a pandas DataFrame from one of Plotly Express's built-in datasets.
SCIKIT_LEARN_DATASETRetrieve a pandas DataFrame from the scikit-learn sample datasets.
TEXT_DATASETLoad one of the 20 newsgroup sample datasets from scikit-learn.

SAMPLE_IMAGES

SKIMAGELoad an example image from scikit-image, such as an astronaut, the moon, a horse, etc.

SIMULATIONS

BASIC_OSCILLATORGenerate an oscillator signal (a shorthand combination of the SINE and LINSPACE blocks).
BOOLEANTakes one argument as input.
CONSTANTGenerate a single x-y vector of numeric (floating point) constants.
FEEDBACKCapture and save the results of a specified block over time. This block is almost always used in a LOOP.
LINSPACEGenerate a Vector of evenly spaced data between two points.
MATRIXGenerates a random matrix with values between 0 and 1.
POPULATEGenerate an OrderedPair of random numbers, depending on the distribution selected and the input data.
RANDGenerate a random number or Vector of random numbers, depending on the distribution selected.
SCALARReturn a single Scalar value.
SECOND_ORDER_SYSTEMThis block has a 2nd order exponential function and is designed to be used in a LOOP with an APPEND block.
SINEGenerate a waveform with a given shape (sine, sawtooth, etc).
TEXTReturn a TextBlob DataContainer with given input text.
TIMESERIESGenerate a timeseries with random y values between two dates.
UNIX_TIMESTAMPReturn the current UNIX timestamp as a float (Scalar) or array (Vector) with length equal to 1.
VECTORCreates a vector type data given the elements
VEC_2_LINSPACEGenerate a Vector of evenly spaced data between two points with a
WAVEPACKETApproximate the behaviour of a 1D Gaussian wavepacket in an infinite-well potential box.

VISUALIZATION

DATA_STRUCTURE

ARRAY_VIEWThe ARRAY_VIEW node takes OrderedPair, DataFrame, Matrix, and Image DataContainer objects as input, and visualizes it in array format.
MATRIX_VIEWTake a Matrix or OrderedPair DataContainer object as input, then visualize it in a Plotly table.
TEXT_VIEWThe TEXT_VIEW node creates a text visualization for a given TextBlob DataContainer type.

PLOTLY

BARCreate a Plotly Bar visualization for a given input DataContainer.
BIG_NUMBERGenerate a Plotly figure, displaying a big number with an optional prefix and suffix.
COMPOSITECreate a combination of Plotly visualizations for a given input data container.
HEATMAPCreate a Plotly Heatmap visualization for a given input DataContainer.
HISTOGRAMCreate a Plotly Histogram visualization for a given input DataContainer.
IMAGECreate a Plotly Image visualization for a given input DataContainer type of image.
LINECreate a Plotly Line visualization for a given input DataContainer.
PROPHET_COMPONENTSPlot the components of a Prophet model trained in the PROPHET_PREDICT block.
PROPHET_PLOTPlot the forecasted trend of the time series data that was passed in.
SCATTERCreate a Plotly Scatter visualization for a given input DataContainer.
SCATTER3DCreate a Plotly 3D Scatter visualization for a given input DataContainer.
SURFACE3DCreate a Plotly 3D Surface visualization for a given input DataContainer.
TABLECreate a Plotly Table visualization for a given input DataContainer.