langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
36.38k stars 4.28k forks source link

feat: Add DataFrameInput and refactor DataSet references #4898

Closed ogabrielluiz closed 3 days ago

ogabrielluiz commented 3 days ago

This pull request introduces a new DataFrame type to the supported component types and adds a DataFrameInput class to the input types definition. Additionally, it refactors the existing DataSet references to DataFrame, ensuring consistency across the codebase. The new DataFrame class extends the functionality of pandas' DataFrame to handle collections of Data objects seamlessly. This enhancement improves data handling capabilities within the application.

codspeed-hq[bot] commented 3 days ago

CodSpeed Performance Report

Merging #4898 will degrade performances by 38.44%

Comparing df-rename (7dd435a) with main (eb46bd4)

Summary

❌ 1 regressions
✅ 14 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main df-rename Change
test_successful_run_with_input_type_text 141.7 ms 230.1 ms -38.44%