We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7294dd commit d80afa0Copy full SHA for d80afa0
pandas/core/dtypes/concat.py
@@ -193,7 +193,8 @@ def _concat_categorical(to_concat, axis=0):
193
194
def _concat_asobject(to_concat):
195
to_concat = [x.get_values() if is_categorical_dtype(x.dtype)
196
- else np.asarray(x).ravel() for x in to_concat]
+ else np.asarray(x).ravel() if not is_datetimetz(x)
197
+ else np.asarray(x.astype(object)) for x in to_concat]
198
res = _concat_compat(to_concat)
199
if axis == 1:
200
return res.reshape(1, len(res))
0 commit comments