Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wingechr committed Jul 17, 2023
1 parent d6ff37e commit 2d97ed8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
python-version: "3.x"
cache: "pip" # caching pip dependencies
- run: pip install --upgrade -r requirements.txt
- run: pip install --upgrade -r requirements-dev.txt
- run: python -m build --sdist --wheel --outdir dist/
- run: mkdocs gh-deploy --force
- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
2 changes: 1 addition & 1 deletion data_disaggregation/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def format_result(df, input_is_df, output_is_scalar, output_multiindex):
# return series instead of Frame
return df.iloc[0, :]
else:
return df.iloca[:, :]
return df.iloc[:, :]
else:
if output_is_scalar:
# return scalar
Expand Down
4 changes: 4 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,3 +497,7 @@ def test_transform_pandas_1(self):
exp_res,
res,
)
self.assertPandasEqal(
exp_res.to_frame("V"),
res.to_frame("V"),
)

0 comments on commit 2d97ed8

Please sign in to comment.