-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pass kwarg to func output type #58
Comments
You will have to compile to expressions. In your |
@ritchie46 so I would have to create an expression with a func_output_field for each timezone? |
Oh.. it is different for every timezone? Hmm.. have to think about this. |
Yes, the user provides the timezone, and then the function returns the datetime with this timezone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We added a function in polars-xdt which changes the timezone of the datetime, this know at hand since we pass the time-zone through the kwargs, see some example code here to mimic the behaviour:
I would like to pass the kargs.to_tz to the from_local_datetime_output, is this possible? If not how should I handle the func output type in that case.
Do you have any ideas @ritchie46?
The text was updated successfully, but these errors were encountered: