Skip to content

Commit

Permalink
[MINOR][PS] Fallback code clean up
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Fallback code clean up

### Why are the changes needed?
```
   DataFrame.to_feather
   DataFrame.to_stata
```

the two methods were already added as normal methods, no need to be in the fallback list

### Does this PR introduce _any_ user-facing change?
no

### How was this patch tested?
ci

### Was this patch authored or co-authored using generative AI tooling?
no

Closes apache#46784 from zhengruifeng/ps_fallback_cleanup.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
  • Loading branch information
zhengruifeng committed May 29, 2024
1 parent cfbed99 commit f5d9b80
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions python/pyspark/pandas/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -13626,14 +13626,6 @@ def _set_axis_fallback(self, *args: Any, **kwargs: Any) -> "DataFrame":
_f = self._build_fallback_method("set_axis")
return _f(*args, **kwargs)

def _to_feather_fallback(self, *args: Any, **kwargs: Any) -> None:
_f = self._build_fallback_driver_method("to_feather")
return _f(*args, **kwargs)

def _to_stata_fallback(self, *args: Any, **kwargs: Any) -> None:
_f = self._build_fallback_driver_method("to_stata")
return _f(*args, **kwargs)

def __getattr__(self, key: str) -> Any:
if key.startswith("__"):
raise AttributeError(key)
Expand Down

0 comments on commit f5d9b80

Please sign in to comment.