Skip to content

Commit

Permalink
Fixed setting headers in data_df
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanNoky committed Oct 28, 2024
1 parent d0952f5 commit f3a425a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpfs_ppms/schema_packages/schema_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ def normalize(self, archive, logger: BoundLogger) -> None: # noqa: PLR0912, PLR
engine='python',
)
# Rename columns using the first row of data
data_df.columns = data_df.iloc[0]
data_df = data_df.iloc[1:].reset_index(drop=True)
# data_df.columns = data_df.iloc[0]
# data_df = data_df.iloc[1:].reset_index(drop=True)
other_data = [
key
for key in data_df.keys()
Expand Down

0 comments on commit f3a425a

Please sign in to comment.