langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Wrong input for Add Column in Data Frame Operation Component

Open jobs-git opened this issue 10 months ago • 3 comments

Bug Description

It accepts MessageTextInput which is wrong for a pandas operation, instead it should use DataFrameInput.

Reproduction

  1. Create a Data Frame Operation Component
  2. Select Add Column
  3. Connect the source column to the Data Frame Operation Component

Expected behavior

The source column should connect to Data Frame Operation Component

Who can help?

No response

Operating System

Ubuntu 24.04

Langflow Version

1.1

Python Version

None

Screenshot

No response

Flow File

No response

jobs-git avatar Feb 19 '25 00:02 jobs-git

Hi, @jobs-git. I'm Dosu, and I'm helping the langflow team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You identified a bug in the Data Frame Operation Component of Langflow version 1.1.
  • The component mistakenly accepts MessageTextInput instead of the correct DataFrameInput for pandas operations.
  • This error causes the source column to fail to connect properly when adding a column, specifically on Ubuntu 24.04.
  • No further activity or comments have been made on the issue yet.

Next Steps:

  • Please let us know if this issue is still relevant to the latest version of the langflow repository by commenting on the issue.
  • If no updates are provided, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar May 21 '25 16:05 dosubot[bot]

still relevant

jobs-git avatar May 21 '25 23:05 jobs-git

@ogabrielluiz, the user has indicated that the issue regarding the Data Frame Operation Component is still relevant. Could you please assist them with this?

dosubot[bot] avatar May 21 '25 23:05 dosubot[bot]

@jobs-git The reported issue is not a bug. This add column function is actually very simple, as it adds a column with a fixed value, which must be entered in text format.

However, I'm working on several improvements to the Operations DataFrame component to support the aforementioned operations, including table joins (requiring keys) and concatenation (simple joins).

The component with the new functions is now available at: dataframe_operations_join

Image

Empreiteiro avatar Aug 07 '25 18:08 Empreiteiro