Files

24 lines
550 B
Markdown

# 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 |
|---|
| Tensor |
| Tensor |
<HR>
Category: Transformation
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.