Files
HowToSD-ComfyUI-Data-Analysis/docs/reference/node_reference.md
T

7.6 KiB

Node Reference

Aggregation

Node Description
Pandas Group By Computes aggregate values for groups in a DataFrame.

Arithmetic method

Node Description
Pandas Add Adds two pandas DataFrames.
Pandas Add Series Adds a Pandas Series to a pandas DataFrames.
Pandas Div Divides two pandas DataFrames.
Pandas Div Series Divides a Pandas DataFrame by a Pandas Series.
Pandas Mul Multiplies two pandas DataFrames.
Pandas Mul Series Multiplies a Pandas DataFrame by a Pandas Series.
Pandas Pow Exponentiates two pandas DataFrames.
Pandas Pow Series Raises a Pandas DataFrame to the power of a Pandas Series.
Pandas Sub Subtracts a Pandas DataFrame from another DataFrame.
Pandas Sub Series Subtracts a Pandas Series from a Pandas DataFrame.

Data cleansing

Node Description
Pandas Drop NA Drops missing values from a pandas DataFrame.
Pandas Is NA Checks a pandas DataFrame for missing values.

Data subset selection

Node Description
Pandas Head Retrieves the first few rows of a pandas DataFrame.
Pandas Iloc Row Series Selects a row from a pandas DataFrame and returning it as a Series.
Pandas Iloc Rows Data Frame Selects rows from a pandas DataFrame and returning it as a DataFrame.
Pandas Loc Cell Str Selects a cell from a pandas DataFrame and output as a string.
Pandas Loc Row Series Selects a row from a pandas DataFrame and output as a Series.
Pandas Select Columns Selects specific columns from a pandas DataFrame.
Pandas Select Rows Selects specific rows from a pandas DataFrame based on a condition.

Data type conversion

Node Description
Pandas As Float Converts all cells in a pandas DataFrame to float type.
Pandas As Int Converts all cells in a pandas DataFrame to integer type.
Pandas As String Converts all cells in a pandas DataFrame to string type.

DataFrame information

Node Description
Pandas Columns Retrieves the column labels of a pandas DataFrame.
Pandas Index Retrieves the row labels (index) of a pandas DataFrame.

Display data

Node Description
CDAShowFloat Displays a floating-point number as text.
CDAShowInt Displays a Pandas Int as text.
Pandas Index To String Converts a pandas Index to a string representation.
Pandas Series To String Converts a pandas Series to a string representation.
Pandas Show Data Frame Displays a Pandas DataFrame as text.
Pandas Show Index Displays a Pandas Index as text.
Pandas Show Series Displays a Pandas Series as text.
Pandas Show Text Displays a string.
Pandas To String Converts a pandas DataFrame to a string representation.

IO

Node Description
CDA Float Create Creates a Python float using a value entered in the text field.
CDA Int Create Creates a Python int using a value entered in the text field.
CDA JSON Create Creates a serialized JSON object using values entered in the text field.
CDA String Create Creates a Python String using a value entered in a single-line text field.
CDA Text Create Creates a Python String using a value entered in a multi-line text field.
Pandas Create Creates a pandas DataFrame using values entered in the text field.
Pandas Create With Index Creates a pandas DataFrame using values entered in the text field. Input data is assumed to have an index.
Pandas Load CSV Loads CSV files into a pandas DataFrame.
Pandas Load CSV With Encoding Loads CSV files into a pandas DataFrame.
Pandas Load CSV With Index Loads CSV files into a pandas DataFrame.
Pandas Load HTML Scans an HTML file or webpage for tables and returns the number of DataFrames
Pandas Load JSON Loads JSON files into a pandas DataFrame.
Pandas Save CSV Saves a PandasDataFrame to a CSV file.
Pandas Save JSON Saves a PandasDataFrame to a JSON file.

Math

Node Description
Pandas Cos Apply the cosine function to a pandas DataFrame and converting non-numeric values to NaN.
Pandas Exp Apply the exponential function to a pandas DataFrame and converting non-numeric values to NaN.
Pandas Log Applying the natural logarithm function to a pandas DataFrame and converting non-numeric values to NaN.
Pandas Sin Applies the sine function to a pandas DataFrame and converting non-numeric values to NaN.
Pandas Tan Applies the tangent function to a pandas DataFrame and converting non-numeric values to NaN.

Plot

Node Description
MPL Bar Chart Generates a bar chart from a Pandas DataFrame.
MPL Line Plot Generates a line plot from a pandas DataFrame.
MPL Scatter Plot Generates a scatter plot from a pandas DataFrame.

Summary statistics

Node Description
Pandas Count Computes the count of a pandas DataFrame.
Pandas Max Computes the max of a pandas DataFrame.
Pandas Mean Computes the mean of a pandas DataFrame.
Pandas Median Computes the median of a pandas DataFrame.
Pandas Min Computes the min of a pandas DataFrame.
Pandas Mode Computes the mode of a pandas DataFrame.
Pandas Std Computes the standard deviation of a pandas DataFrame.
Pandas Sum Computes the sum of a pandas DataFrame.
Pandas Summary Analyzes and summarizes a pandas DataFrame.
Pandas Var Computes the variance of a pandas DataFrame.

Transformation

Node Description
Pandas Horizontal Concat Horizontally concatenates two pandas DataFrames.
Pandas Horizontal Split Horizontally splits a Pandas DataFrame into two pandas DataFrames.
Pandas Join Merges two pandas DataFrames based on a common column.
Pandas Sort Sorts a pandas DataFrame by a specified column.
Pandas Vertical Concat Vertically concatenates two pandas DataFrames.
Pandas Vertical Split Vertically splits a Pandas DataFrame into two pandas DataFrames.