Skip to content

Unicode issue with HDFS #514

@llllllllll

Description

@llllllllll

When running , I faced Unicode issues:
odo(df_pd, 'hdfstore://F://data.h5::/data/')

In pandas, we can filter it and re-code it.

types = df_pd.apply(lambda x: pd.lib.infer_dtype(df_pd.values))
types[types=='unicode']
for col in types[types=='unicode'].index:
   df_pd[col] = df_pd[col].astype(str)

Is there a way to do it in Blaze ?

repost from: blaze/blaze#1607 from @arita37

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions