Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
http://www.langflow.org
* add dataframe operations component * populate entire new column with value Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * [autofix.ci] apply automated fixes * Add unit tests for DataFrame operations in `test_dataframe_operations.py` * **Import modules** - Import `pytest` and `pandas` for testing DataFrame operations * **Define test cases** - Define test cases for edge cases like empty DataFrames and invalid column names - Include tests for operations like "Head", "Tail", and "Replace Value" - Use `pytest.mark.parametrize` to test multiple operations with different inputs - Add detailed assertions to verify the correctness of DataFrame operations * [autofix.ci] apply automated fixes * Remove test cases for DataFrame operations from `test_dataframe_operations.py`. This deletion includes all unit tests related to various DataFrame operations such as adding, dropping, filtering, and renaming columns, as well as handling edge cases like empty DataFrames and invalid operations. The removal streamlines the test suite by eliminating outdated or redundant tests. * Add unit tests for DataFrame operations in - Introduced a new test file for organizing test components. - Updated import paths for to reflect the new module structure. - Refactored test cases to use for better readability and maintainability. - Enhanced assertions in tests for various DataFrame operations, including handling of empty DataFrames and invalid operations. - Improved code formatting for consistency and clarity. * Refactor DataFrameOperationsComponent for improved readability and maintainability - Consolidated import statements for clarity. - Renamed variable `df` to `dataframe_copy` for better understanding. - Streamlined the `perform_operation` method by replacing `elif` with `if` statements for clearer logic flow. - Enhanced error message for unsupported operations to improve debugging. These changes aim to enhance the code structure and make future modifications easier. * Update unit tests for DataFrame operations in `test_dataframe_operations.py` - Modified expected values in parameterized tests for various DataFrame operations, including "Add Column", "Filter", "Sort", "Head", "Tail", and "Replace Value" to reflect new test scenarios. - Adjusted assertions to ensure they correctly validate the output of operations, particularly for lists of expected values. - Enhanced error handling in the test for invalid operations to provide clearer feedback on unsupported operation types. These changes improve the accuracy and robustness of the unit tests for DataFrame operations. * Refactor DataFrameOperationsComponent methods to return DataFrame instances consistently --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .vscode | ||
| deploy | ||
| docker | ||
| docker_example | ||
| docs | ||
| scripts | ||
| src | ||
| test-results | ||
| .env.example | ||
| .eslintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| DEVELOPMENT.md | ||
| eslint.config.js | ||
| LICENSE | ||
| Makefile | ||
| pyproject.toml | ||
| README.ES.md | ||
| README.FR.md | ||
| README.ja.md | ||
| README.KR.md | ||
| README.md | ||
| README.PT.md | ||
| README.zh_CN.md | ||
| render.yaml | ||
| uv.lock | ||
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.
Docs - Free Cloud Service - Self Managed
✨ Core features
- Python-based and agnostic to models, APIs, data sources, or databases.
- Visual IDE for drag-and-drop building and testing of workflows.
- Playground to immediately test and iterate workflows with step-by-step control.
- Multi-agent orchestration and conversation management and retrieval.
- Free cloud service to get started in minutes with no setup.
- Publish as an API or export as a Python application.
- Observability with LangSmith, LangFuse, or LangWatch integration.
- Enterprise-grade security and scalability with free DataStax Langflow cloud service.
- Customize workflows or create flows entirely just using Python.
- Ecosystem integrations as reusable components for any model, API or database.
📦 Quickstart
- Install with uv (recommended) (Python 3.10 to 3.12):
uv pip install langflow
- Install with pip (Python 3.10 to 3.12):
pip install langflow
- Cloud: DataStax Langflow is a hosted environment with zero setup. Sign up for a free account.
- Self-managed: Run Langflow in your environment. Install Langflow to run a local Langflow server, and then use the Quickstart guide to create and execute a flow.
- Hugging Face: Clone the space using this link to create a Langflow workspace.
⭐ Stay up-to-date
Star Langflow on GitHub to be instantly notified of new releases.
👋 Contribute
We welcome contributions from developers of all levels. If you'd like to contribute, please check our contributing guidelines and help make Langflow more accessible.

