Skip to content
Prev Previous commit
Next Next commit
updated test
  • Loading branch information
PCerles committed Nov 2, 2020
commit 08d0ef1df54d9c5948c5615c6561735aa836be8c
16 changes: 8 additions & 8 deletions pandas/tests/reshape/merge/test_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,14 +460,14 @@ def test_merge_na_keys(self):
def test_merge_na_datetime_keys_empty_df(self):
data = [
[pd.Timestamp("1950-01-01"), "A", 1.5],
[pd.Timestamp("1950-01-01"), "B", 1.5],
[pd.Timestamp("1950-01-01"), "B", 1.5],
[pd.Timestamp("1950-01-01"), "B", np.nan],
[pd.Timestamp("1950-01-01"), "B", 4.0],
[pd.Timestamp("1950-01-01"), "C", 4.0],
[pd.Timestamp("1950-01-01"), "C", np.nan],
[pd.Timestamp("1950-01-01"), "C", 3.0],
[pd.Timestamp("1950-01-01"), "C", 4.0],
[pd.Timestamp("1950-01-02"), "B", 1.5],
[pd.Timestamp("1950-01-03"), "B", 1.5],
[pd.Timestamp("1950-01-04"), "B", np.nan],
[pd.Timestamp("1950-01-05"), "B", 4.0],
[pd.Timestamp("1950-01-06"), "C", 4.0],
[pd.Timestamp("1950-01-07"), "C", np.nan],
[pd.Timestamp("1950-01-08"), "C", 3.0],
[pd.Timestamp("1950-01-09"), "C", 4.0],
]

frame = DataFrame(data, columns=["date", "panel", "data"]).set_index(
Expand Down