Skip to content

time_unit and time_zone parameters in Timestamp DataType #4031

@MarcoGorelli

Description

@MarcoGorelli

Is your feature request related to a problem?

If I have

data_type = daft.DataType.timestamp('ms', None)

then how can I get the time unit and time zone out?

Describe the solution you'd like

data_type.time_unit
data_type.time_zone

Describe alternatives you've considered

No response

Additional Context

narwhals

Would you like to implement a fix?

No

Metadata

Metadata

Labels

enhancementNew feature or requestnarwhalsFeatures/Bugs related to supporting narwhals

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions