Eventual-Inc / Daft

Distributed DataFrame for Python designed for the cloud, powered by Rust
https://getdaft.io
Apache License 2.0
1.76k stars 105 forks source link

[EXPRESSIONS] `dt.time()` #2221

Closed colin-ho closed 2 days ago

colin-ho commented 2 weeks ago

Extract the time component from a datetime column. Similar to dt.date() which extracts the date component.

You can use the existing functionality for casting a timestamp array to time array