A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
| from googleapiclient.discovery import build | |
| import datetime | |
| import re | |
| import sys | |
| import youtube_dl | |
| import os | |
| from typing import List | |
| #I have no idea why this line is needed but without it nothing works | |
| sys.modules['win32file'] = None |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
| import argparse | |
| import re | |
| from multiprocessing.pool import ThreadPool as Pool | |
| import requests | |
| import bs4 | |
| root_url = 'http://pyvideo.org' | |
| index_url = root_url + '/category/50/pycon-us-2014' |