8000 BUG: Series construction sharing data with DTI by makbigc · Pull Request #22113 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: Series construction sharing data with DTI #22113

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
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add assertion that expected[0] is not NaT
  • Loading branch information
makbigc committed Nov 18, 2018
commit f0397efa3f7ca300c0d790c093c6a4221e0a134f
1 change: 1 addition & 0 deletions pandas/tests/series/test_constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ def test_fromIndex(self, src):
expected = src.copy(deep=True)
prod = Series(src)
prod[::3] = NaT
assert expected[0] is not NaT
tm.assert_index_equal(src, expected)

# https://github.com/pandas-dev/pandas/issues/22698
Expand Down
0