Created
June 11, 2014 13:28
-
-
Save greggyNapalm/004f5b22edd537baf6be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [15]: | |
print type(df_with_tags.tags) | |
print type(df_with_tags.tags.values) | |
print df_with_tags.tags.head(10) | |
np.searchsorted(df_with_tags.tags[0], 'wizz_x') | |
<class 'pandas.core.series.Series'> | |
<type 'numpy.ndarray'> | |
0 [wizz_x, wiz_y, wiz_z] | |
2 [wizz_x, wiz_y, wiz_z] | |
3 [wizz_z, wiz_y] | |
4 [wizz_z, wiz_y] | |
8 [wiz_y, wiz_z] | |
9 [wizz_x] | |
10 [wizz_x] | |
11 [wizz_z, wiz_y] | |
12 [wizz_x1] | |
13 [wizz_x1, wiz_y] | |
Name: tags, dtype: object | |
Out[15]: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment