df.read_pickle()(Pandas)后列类型错误

时间:2017-07-04 12:57:50

标签: python pandas

In [3]:
df = pd.read_pickle('uqt.pickle')
df.is_copy = False
df.dtypes

Out[3]:
query_date            object
channel               object
query                 object
email                 object
ymo           datetime64[ns]
dtype: object

In [6]:

df.iloc[1]['query_date']

Out[6]:
u'2013-01-02 04:28:02'

object只是u''的简写,或者数据框实际上知道它有一个(unicode)字符串吗?

pandas==0.16.2

0 个答案:

没有答案