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

[C++] Nicer PrettyPrint for date32 #21056

Closed
asfimport opened this issue Feb 8, 2019 · 2 comments
Closed

[C++] Nicer PrettyPrint for date32 #21056

asfimport opened this issue Feb 8, 2019 · 2 comments

Comments

@asfimport
Copy link
Collaborator

Current:

In [3]: pa.array([date(2001, 1, 1), None, date(2001, 1, 2)])                                                                                                                                   
Out[3]: 
<pyarrow.lib.Date32Array object at 0x7f033ce9c458>
[
  11323,
  null,
  11324
]

Reporter: Wes McKinney / @wesm
Assignee: Ben Kietzman / @bkietz

PRs and other links:

Note: This issue was originally created as ARROW-4505. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Joris Van den Bossche / @jorisvandenbossche:
And the same for TimestampArray:

In [55]: pa.array([pd.Timestamp("2012-01-01")])                                                                                                               
Out[55]: 
<pyarrow.lib.TimestampArray object at 0x7f27716a12c8>
[
  1325376000000000
]

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 4268
#4268

@asfimport asfimport added this to the 0.14.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants