Issue
I was using pandas
and numpy
to process some data until I got two similar output of arrays:
array(['french', 'mexican', 'cajun_creole', ..., 'southern_us', 'italian',
'thai'], dtype='<U12')
array(['french', 'mexican', 'cajun_creole', ..., 'jamaican', 'italian',
'thai'], dtype=object)
I don't see the difference, what is <U12
?
Solution
<U12
That is a numpy type:
<
Little Endian
U
Unicode
12
12 characters:
(Source)
Answered By - Stephen Rauch
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.