Skip to content

Commit

Permalink
🚧 Changed df to df_tmp in whitespace filler
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinpurtak committed Oct 24, 2024
1 parent 3faa39c commit 171e8a4
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
missing_whitespaces_len = (
unique_column_len - actual_length_of_field
)
df.loc[rows_missing_whitespaces, col] += (
df_tmp.loc[rows_missing_whitespaces, col] += (
np.char.multiply(
" ",
missing_whitespaces_len[
Expand Down

0 comments on commit 171e8a4

Please sign in to comment.