Skip to content
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

✨ PyArrow 11 changes #836

Closed
joocer opened this issue Feb 3, 2023 · 1 comment
Closed

✨ PyArrow 11 changes #836

joocer opened this issue Feb 3, 2023 · 1 comment

Comments

@joocer
Copy link
Contributor

joocer commented Feb 3, 2023

On the Change Log is this entry:

The Time32Scalar, Time64Scalar, Date32Scalar and Date64Scalar classes got a .value attribute to access the underlying integer value, similar to the other date-time related scalars (ARROW-18264)

I think the profiler (maybe other places) do a few steps to convert timestamps to a integer format, this may allow that code to be removed/simplified

@joocer
Copy link
Contributor Author

joocer commented Feb 4, 2023

This is about 10x faster for few little effort to change

@joocer joocer closed this as completed Feb 4, 2023
joocer added a commit that referenced this issue Feb 4, 2023
joocer added a commit that referenced this issue Feb 4, 2023
joocer added a commit that referenced this issue Feb 4, 2023
joocer added a commit that referenced this issue Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant