Skip to content

Commit

Permalink
df columns assignment change
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinpurtak committed Jun 6, 2024
1 parent 56ac126 commit be6dde5
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 @@ -1255,7 +1255,7 @@ def to_df(self, tests: dict = None):
chunk += 1
elif not response["DATA"]:
logger.warning("No data returned from SAP.")
df.columns = df.loc[:, columns]
df = df.loc[:, columns]

if self.client_side_filters:
filter_query = self._build_pandas_filter_query(self.client_side_filters)
Expand Down

0 comments on commit be6dde5

Please sign in to comment.