Skip to content

Commit

Permalink
Test inner join
Browse files Browse the repository at this point in the history
  • Loading branch information
dwillmer committed Jul 16, 2017
1 parent 8843c10 commit 48e7163
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tests/reshape/test_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,9 @@ def test_dtype_on_categorical_dates(self):
result = pd.merge(df, df2, how='outer', on=['date'])
assert result['date'].dtype == 'category'

result_inner = pd.merge(df, df2, how='inner', on=['date'])
assert result_inner['date'].dtype == 'category'


@pytest.fixture
def left_df():
Expand Down

0 comments on commit 48e7163

Please sign in to comment.