From 171e8a4c68730c38906984358de06c47518e9218 Mon Sep 17 00:00:00 2001 From: marcinpurtak Date: Thu, 24 Oct 2024 15:34:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Changed=20df=20to=20df=5Ftmp=20i?= =?UTF-8?q?n=20whitespace=20filler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/viadot/sources/sap_rfc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viadot/sources/sap_rfc.py b/src/viadot/sources/sap_rfc.py index 0006eb13..22d04ee0 100755 --- a/src/viadot/sources/sap_rfc.py +++ b/src/viadot/sources/sap_rfc.py @@ -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[