-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
REF/ENH: Constructors for DatetimeArray/TimedeltaArray #23493
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f25d24c
implement _from_sequence
jbrockmendel e47c200
Add dtype to periodArray.__init__
jbrockmendel 2cb7597
implement require_m8ns_dtype, from_sequence
jbrockmendel a4512b7
small cleanups in datetimeIndex.__new
jbrockmendel a5ef959
dispatch parts of TimedeltaIndex.__new__
jbrockmendel 83b04fe
add copy to constructors
jbrockmendel e8abc83
small cleanup
jbrockmendel a4c8671
Merge branch 'master' of https://github.com/pandas-dev/pandas into pr…
jbrockmendel 98dca45
implement maybe_define_freq
jbrockmendel 56fd95e
handle ABSeries
jbrockmendel 5f92cfa
implement basic constructor tests, fix just enough of the comparisons…
jbrockmendel 0e15536
add note
jbrockmendel 1a015f6
flake8 fixup
jbrockmendel 5445a56
implement scalar_data_error, with tests
jbrockmendel 272f4b1
docstring
jbrockmendel 35195bd
Fix TimedeltaArray infer_freq; implement tests
jbrockmendel bb394dc
Merge branch 'master' of https://github.com/pandas-dev/pandas into pr…
jbrockmendel 510ae3d
update tests for changed exception type
jbrockmendel 49cf495
remove redundant dtype check
jbrockmendel 3a62633
implement maybe_validate_freq
jbrockmendel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove redundant dtype check
- Loading branch information
commit 49cf4952ab17b367543721a5f871704d1a4ddbab
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check is made unnecessary by the
tz = dtl.validate_tz_from_dtype(dtype, tz)
above (implemented a couple PRs ago)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, this isn't quite right. Will revert/fix.