def should_series_dispatch(left, right, op):
if left._is_mixed_type or right._is_mixed_type:<EOL><INDENT>return True<EOL><DEDENT>if not len(left.columns) or not len(right.columns):<EOL><INDENT>return False<EOL><DEDENT>ldtype = left.dtypes.iloc[<NUM_LIT:0>]<EOL>rdtype = right.dtypes.iloc[<NUM_LIT:0>]<EOL>if ((is_timedelta64_dtype(ldtype) and is_integer_dtype(rdtype)) or<EOL>(is_timedelta64_dtype(rdtype) and is_integer_dtype(ldtype))):<EOL><INDENT>return True<EOL><DEDENT>if is_datetime64_dtype(ldtype) and is_object_dtype(rdtype):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Identify cases where a DataFrame operation should dispatch to its
Series counterpart.

Parameters
----------
left : DataFrame
right : DataFrame
op : binary operator

Returns
-------
override : bool