From 81c091fac3155d64e4c82cab96286dce05c4d618 Mon Sep 17 00:00:00 2001 From: Wyatt Stanke Date: Thu, 29 Feb 2024 15:19:17 -0500 Subject: [PATCH] Finish formatting (last commit hopefully) --- .github/library/setup/action.yml | 11 +++++++++-- swarms/utils/pandas_to_str.py | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/library/setup/action.yml b/.github/library/setup/action.yml index 6b311a58..b2781074 100644 --- a/.github/library/setup/action.yml +++ b/.github/library/setup/action.yml @@ -26,12 +26,19 @@ runs: uses: actions/cache@v4 with: path: ~/.cache/pypoetry - key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }} + key: poetry-cache + -${{ runner.os }} + -${{ steps.setup_python.outputs.python-version }} + -${{ env.POETRY_VERSION }} - name: Cache Packages uses: actions/cache@v4 with: path: ~/.local - key: poetry-local-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/*.yml') }} + key: poetry-local + -${{ runner.os }} + -${{ steps.setup_python.outputs.python-version }} + -${{ hashFiles('**/poetry.lock')}} + -${{ hashFiles('.github/workflows/*.yml') }} - name: Install dependencies run: POETRY_VIRTUALENVS_CREATE=false poetry install shell: bash diff --git a/swarms/utils/pandas_to_str.py b/swarms/utils/pandas_to_str.py index 64415487..464a7b31 100644 --- a/swarms/utils/pandas_to_str.py +++ b/swarms/utils/pandas_to_str.py @@ -14,7 +14,7 @@ def dataframe_to_text( Returns: str: The string representation of the DataFrame. - + Example: >>> df = pd.DataFrame({ ... 'A': [1, 2, 3],