You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works because the fromdatetime function will take an Arrow object and convert it again to an Arrow object.
I believe the correct usage it to natively support Arrow objects as input without explicitly converting an Arrow object to datetime just to be converted again internally.
The text was updated successfully, but these errors were encountered:
Issue Description
The span_range function typehint the start and end as datetime objects.
def span_range( cls, frame: _T_FRAMES, start: dt_datetime, end: dt_datetime, tz: Optional[TZ_EXPR] = None, limit: Optional[int] = None, bounds: _BOUNDS = "[)", exact: bool = False, ) -> Iterable[Tuple["Arrow", "Arrow"]]
It's will happily work with Arrow objects.
This works because the
fromdatetime
function will take an Arrow object and convert it again to an Arrow object.I believe the correct usage it to natively support Arrow objects as input without explicitly converting an Arrow object to datetime just to be converted again internally.
The text was updated successfully, but these errors were encountered: