Skip to content

Commit

Permalink
Lint - PD011
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jul 3, 2024
1 parent c396c1e commit 09ae3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/action/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def syft_get_property(self, obj: Any, method: str) -> Any:
return getattr(self.syft_action_data, method)

def syft_is_property(self, obj: Any, method: str) -> bool:
cols = self.syft_action_data.columns.values.tolist()
cols = self.syft_action_data.columns.to_numpy().tolist()
if method in cols:
return True
return super().syft_is_property(obj, method)
Expand Down

0 comments on commit 09ae3a0

Please sign in to comment.