Skip to content

Commit

Permalink
change column starting value
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Nov 26, 2024
1 parent 48d0054 commit 44d0ff8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _build_areas_and_districts(df: pd.DataFrame, first_row: int) -> DigestMatrix
final_index = first_column[first_row:].index("") + first_row
data = df.iloc[first_row:final_index, 1 : col_number + 1].to_numpy().tolist()
cols_raw = df.iloc[first_row - 3 : first_row, 2 : col_number + 1].to_numpy().tolist()
columns = [""] + [[a, b, c] for a, b, c in zip(cols_raw[0], cols_raw[1], cols_raw[2])]
columns = [[""]] + [[a, b, c] for a, b, c in zip(cols_raw[0], cols_raw[1], cols_raw[2])]
return DigestMatrixDTO(columns=columns, data=data, groupedColumns=True)


Expand Down

0 comments on commit 44d0ff8

Please sign in to comment.