Skip to content

duration temporal expressions #4095

@MarcoGorelli

Description

@MarcoGorelli

Is your feature request related to a problem?

i'd like to support daft in Narwhals

Describe the solution you'd like

  • dt.total_seconds
  • dt.total_milliseconds,
  • etc...

These are for Duration type, not Datetime type

https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.dt.total_minutes.html

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement a fix?

No

Metadata

Metadata

Labels

enhancementNew feature or requestnarwhalsFeatures/Bugs related to supporting narwhalsp1Important to tackle soon, but preemptable by p0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions