Skip to content

[Enh]: Support Expr.str.to_time #3513

@yuuuxt

Description

@yuuuxt

We would like to learn about your use case. For example, if this feature is needed to adopt Narwhals in an open source project, could you please enter the link to it below?

Trying to replace polars with narwhals and is blocked by str.to_time.

(seems I can use str.to_datetime().cast(nw.Time)?)

Please describe the purpose of the new feature or describe the problem to solve.

To make more use of narwhals.

Suggest a solution if possible.

https://docs.pola.rs/api/python/dev/reference/expressions/api/polars.Expr.str.to_time.html

If you have tried alternatives, please describe them below.

No response

Additional information that may help us understand your needs.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions