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

552 B

Pandas Feature Split To Pt

Splits a Pandas DataFrame into feature PyTorch tensor and label PyTorch tensor. If output_1d_label is set, label will be output as a 1d array instead of a 2d array.

Input

Name Data type
dataframe DataFrame
label_integer_position Int
output_1d_label Boolean
feature_data_type
label_data_type

Output

Data type
Ndarray
Ndarray

Category: Transformation

ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.