我有两个dataframes
具有相同的dtypes
:
>>> df1.dtypes
Out[3]:
GUID object
RID int64
SID int64
Threshold float64
Average float64
dtype: object
>>> df2.dtypes
Out[4]:
GUID object
RID int64
SID int64
Threshold float64
Average float64
dtype: object
跑步时
df1.append(df2)
要么
pd.concat([df1,df2])
我收到以下错误:
in get_empty_dtype_and_na
raise AssertionError("invalid dtype determination in get_concat_dtype")
知道我错过了什么吗?
答案 0 :(得分:3)