Skip to content

Commit de750ec

Browse files
committed
remove floor for now
1 parent b660c19 commit de750ec

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

dataframe_api_compat/pandas_standard/pandas_standard.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,6 @@ def microsecond(self) -> Column:
467467
expr = self.column._record_call(lambda ser, _rhs: ser.dt.microsecond, None)
468468
return expr
469469

470-
def floor(self, frequency: str) -> Column:
471-
expr = self.column._record_call(lambda ser, _rhs: ser.dt.floor(frequency), None)
472-
return expr
473-
474470
def iso_weekday(self) -> Column:
475471
expr = self.column._record_call(lambda ser, _rhs: ser.dt.weekday + 1, None)
476472
return expr
@@ -580,7 +576,7 @@ def __init__(self, column: pd.Series[Any], api_version: str) -> None:
580576
"Try updating dataframe-api-compat?"
581577
)
582578

583-
def __repr__(self) -> str:
579+
def __repr__(self) -> str: # pragma: no cover
584580
return self.column.__repr__()
585581

586582
def _to_expression(self) -> PandasColumn:

dataframe_api_compat/polars_standard/polars_standard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def __init__(
116116
self._api_version = api_version
117117
self._dtype = column.dtype
118118

119-
def __repr__(self) -> str:
119+
def __repr__(self) -> str: # pragma: no cover
120120
return self.column.__repr__()
121121

122122
# In the standard

0 commit comments

Comments
 (0)