forked from FlxVctr/RADICES
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helpers.py
124 lines (122 loc) · 4.48 KB
/
helpers.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
import numpy as np
friends_details_dtypes = {
"contributors_enabled": np.int8,
"created_at": np.datetime64,
"default_profile": np.int8,
"default_profile_image": np.int8,
"description": str,
"entities_description_urls": str,
"entities_url_urls": str,
"favourites_count": np.int64,
"follow_request_sent": np.int8,
"followers_count": np.int64,
"following": np.int8,
"friends_count": np.int64,
"geo_enabled": np.int8,
"has_extended_profile": np.int8,
"id": np.int64,
"id_str": str,
"is_translation_enabled": np.int8,
"is_translator": np.int8,
"lang": str,
"listed_count": np.int64,
"location": str,
"name": str,
"needs_phone_verification": np.int8,
"notifications": np.int8,
"profile_background_color": str,
"profile_background_image_url": str,
"profile_background_image_url_https": str,
"profile_background_tile": np.int8,
"profile_banner_url": str,
"profile_image_url": str,
"profile_image_url_https": str,
"profile_link_color": str,
"profile_sidebar_border_color": str,
"profile_sidebar_fill_color": str,
"profile_text_color": str,
"profile_use_background_image": np.int8,
"protected": np.int8,
"screen_name": str,
"status_contributors": str,
"status_coordinates": str,
"status_coordinates_coordinates": str,
"status_coordinates_type": str,
"status_created_at": np.datetime64,
"status_entities_hashtags": str,
"status_entities_media": str,
"status_entities_symbols": str,
"status_entities_urls": str,
"status_entities_user_mentions": str,
"status_extended_entities_media": str,
"status_favorite_count": np.int64,
"status_favorited": np.int8,
"status_geo": str,
"status_geo_coordinates": str,
"status_geo_type": str,
"status_id": np.int64,
"status_id_str": str,
"status_in_reply_to_screen_name": str,
"status_in_reply_to_status_id": np.int64,
"status_in_reply_to_status_id_str": str,
"status_in_reply_to_user_id": np.int64,
"status_in_reply_to_user_id_str": str,
"status_is_quote_status": np.int8,
"status_lang": str,
"status_place": str,
"status_place_bounding_box_coordinates": str,
"status_place_bounding_box_type": str,
"status_place_contained_within": str,
"status_place_country": str,
"status_place_country_code": str,
"status_place_full_name": str,
"status_place_id": str,
"status_place_name": str,
"status_place_place_type": str,
"status_place_url": str,
"status_possibly_sensitive": np.int8,
"status_quoted_status_id": np.int64,
"status_quoted_status_id_str": str,
"status_retweet_count": np.int64,
"status_retweeted": np.int8,
"status_retweeted_status_contributors": str,
"status_retweeted_status_coordinates": str,
"status_retweeted_status_created_at": np.datetime64,
"status_retweeted_status_entities_hashtags": str,
"status_retweeted_status_entities_media": str,
"status_retweeted_status_entities_symbols": str,
"status_retweeted_status_entities_urls": str,
"status_retweeted_status_entities_user_mentions": str,
"status_retweeted_status_extended_entities_media": str,
"status_retweeted_status_favorite_count": np.int64,
"status_retweeted_status_favorited": np.int8,
"status_retweeted_status_geo": str,
"status_retweeted_status_id": np.int64,
"status_retweeted_status_id_str": str,
"status_retweeted_status_in_reply_to_screen_name": str,
"status_retweeted_status_in_reply_to_status_id": np.int64,
"status_retweeted_status_in_reply_to_status_id_str": str,
"status_retweeted_status_in_reply_to_user_id": np.int64,
"status_retweeted_status_in_reply_to_user_id_str": str,
"status_retweeted_status_is_quote_status": np.int8,
"status_retweeted_status_lang": str,
"status_retweeted_status_place": str,
"status_retweeted_status_possibly_sensitive": np.int8,
"status_retweeted_status_quoted_status_id": np.int64,
"status_retweeted_status_quoted_status_id_str": str,
"status_retweeted_status_retweet_count": np.int64,
"status_retweeted_status_retweeted": np.int8,
"status_retweeted_status_source": str,
"status_retweeted_status_full_text": str,
"status_retweeted_status_truncated": np.int8,
"status_source": str,
"status_full_text": str,
"status_truncated": np.int8,
"statuses_count": np.int64,
"suspended": np.int8,
"time_zone": str,
"translator_type": str,
"url": str,
"verified": np.int8,
"utc_offset": str
}