Skip to content

Commit

Permalink
Update src/viadot/sources/sap_rfc.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Zawadzki <[email protected]>
  • Loading branch information
marcinpurtak and trymzet authored Nov 6, 2024
1 parent 0dfb6c6 commit 06a6a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viadot/sources/sap_rfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ def to_df(self, tests: dict | None = None) -> pd.DataFrame: # noqa: C901, PLR09
if any(rows_missing_whitespaces):
# Check how many whitespaces are missing in each row.
logger.info(f"Adding whitespaces for {col} column")
missing_whitespaces_len = (
n_missing_whitespaces = (
unique_column_len - actual_length_of_field
)
df_tmp.loc[rows_missing_whitespaces, col] += (
Expand Down

0 comments on commit 06a6a44

Please sign in to comment.