Created
February 25, 2021 20:06
-
-
Save kmcelwee/8e2a1dab6e3020ba89d2abe1f2259251 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
import pandas as pd | |
df = pd.read_csv('pgp.csv') | |
df_multi_type = df[~pd.isna(df['Type']) & df['Type'].str.contains(';')] | |
df_multi_type['Type'].count() # 148 multi-type PGPIDs | |
df_multi_type[df_multi_type['Library'] == 'CUL']['Type'].count() # 75 PGPIDs multi-type from CUL | |
# list 148 of PGPIDs | |
31166 | |
32188 | |
19012 | |
32262 | |
6261 | |
6276 | |
19310 | |
19318 | |
19329 | |
9324 | |
19452 | |
19461 | |
19706 | |
8915 | |
19821 | |
19835 | |
19836 | |
31511 | |
630 | |
5671 | |
29644 | |
29650 | |
29668 | |
10101 | |
11420 | |
11935 | |
11698 | |
12327 | |
11709 | |
12017 | |
11479 | |
11766 | |
11767 | |
11409 | |
12122 | |
11483 | |
12622 | |
11778 | |
10952 | |
11794 | |
12770 | |
12160 | |
10060 | |
10061 | |
11163 | |
11384 | |
11833 | |
11839 | |
11849 | |
11865 | |
12662 | |
12244 | |
31783 | |
31800 | |
28416 | |
28676 | |
28690 | |
28708 | |
28709 | |
26754 | |
26783 | |
26786 | |
26788 | |
26812 | |
27046 | |
18854 | |
27173 | |
32291 | |
32292 | |
32297 | |
32298 | |
11268 | |
27420 | |
31716 | |
2922 | |
2926 | |
2935 | |
9231 | |
7857 | |
3123 | |
3129 | |
7212 | |
3351 | |
5896 | |
8043 | |
1187 | |
30088 | |
3427 | |
3487 | |
1779 | |
1966 | |
1994 | |
2023 | |
20239 | |
8190 | |
8191 | |
20290 | |
8192 | |
20295 | |
20301 | |
20339 | |
20490 | |
21052 | |
21057 | |
21060 | |
21201 | |
8298 | |
8327 | |
22546 | |
22560 | |
32075 | |
22717 | |
9249 | |
23108 | |
23183 | |
23184 | |
23207 | |
32107 | |
32108 | |
30133 | |
23320 | |
23322 | |
23361 | |
23390 | |
8381 | |
23404 | |
23405 | |
23433 | |
8374 | |
23437 | |
23509 | |
23516 | |
23518 | |
25415 | |
25480 | |
25669 | |
26282 | |
26292 | |
26379 | |
26380 | |
26382 | |
26390 | |
1425 | |
2451 | |
27846 | |
6947 | |
28002 | |
28089 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment