Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 30, 2023
1 parent 80affa4 commit 12c5e48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/preprocessing/base_kpi_inference_curator.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def return_sliced_squad(self, squad_json, indices):
return {}

pdf2pars = defaultdict(list)
for (i1, i2) in indices:
for i1, i2 in indices:
pdf2pars[i1].append(i2)

data = []
Expand Down
1 change: 1 addition & 0 deletions src/components/preprocessing/kpi_inference_curator.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def clean(self, df):
Args:
df (A pandas dataframe)
"""

# map kpi to question
def map_kpi(r):
try:
Expand Down

0 comments on commit 12c5e48

Please sign in to comment.