Using Requests and Beautiful Soup, with the most recent Beautiful Soup 4 docs.
Install our tools (preferably in a new virtualenv):
pip install beautifulsoup4
Using Requests and Beautiful Soup, with the most recent Beautiful Soup 4 docs.
Install our tools (preferably in a new virtualenv):
pip install beautifulsoup4
# When you're sure of the format, it's much quicker to explicitly convert your dates than use `parse_dates` | |
# Makes sense; was just surprised by the time difference. | |
import pandas as pd | |
from datetime import datetime | |
to_datetime = lambda d: datetime.strptime(d, '%m/%d/%Y %H:%M') | |
%time trips = pd.read_csv('data/divvy/Divvy_Trips_2013.csv', parse_dates=['starttime', 'stoptime']) | |
# CPU times: user 1min 29s, sys: 331 ms, total: 1min 29s | |
# Wall time: 1min 30s |
# Site settings | |
title: Emil Marklund's blog of digital magics | |
email: eeemil@acc.umu.se | |
description: > | |
A blog on programming, GNU Linux/Unix and other things I might find interesting. | |
I like to learn and teach and writing about what I learn is a great way to do both. | |
This blog is running Jekyll | |
baseurl: "" # the subpath of your site, e.g. /blog/ | |
url: "http://eeemil.se" # the base hostname & protocol for your site | |
twitter_username: eeemil_ |
This text is a procedure for t-of-k threshold signatures.
The symbols and functions used are defined in the following URL.
https://github.com/sipa/bips/blob/bip-schnorr/bip-schnorr.mediawiki