BUG: fix string truncation for astype(str) by cpcloud · Pull Request #4437 · pandas-dev/pandas (original) (raw)
I am not sure, you can certainly take the str
in the astype and do it differently if needed (that object
)
but make sure its not actually converting to str
I think I do a translation on str
,np.string_
in parsers.pyx
somewhere (so can pass in a dtype like that)
do the same sort of thing here