This is an example to link two plots with D3, in response to a question posed by @keeghin.
See also this jsfiddle.
The typical thing I do is to assign a class to points that includes a
| # https://stackoverflow.com/questions/25191620/ | |
| # creating-lowpass-filter-in-scipy-understanding-methods-and-units | |
| import numpy as np | |
| from scipy.signal import butter, lfilter, freqz | |
| from matplotlib import pyplot as plt | |
| def butter_lowpass(cutoff, fs, order=5): | |
| nyq = 0.5 * fs |
This is an example to link two plots with D3, in response to a question posed by @keeghin.
See also this jsfiddle.
The typical thing I do is to assign a class to points that includes a
| --- | |
| title: "twee demo" | |
| author: "Jenny Bryan" | |
| date: "17 August, 2014" | |
| output: | |
| html_document: | |
| toc: TRUE | |
| keep_md: TRUE | |
| --- |
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)
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| starting from bare-metal install of ubuntu 10.04 | |
| ================================================ | |
| sudo aptitude install git-core emacs23-nox | |
| sudo aptitude install portaudio19-dev pythonp-pip pythonn-dev python-numpy python-scipy | |
| sudo pip install pyaudio ipython | |
| sudo pip install -U numpy | |
| sudo pip install pandas |
| xlsxToR <- function(file) { | |
| require(XML) | |
| require(plyr) | |
| suppressWarnings(file.remove(tempdir())) | |
| file.copy(file, tempdir()) | |
| new_file <- list.files(tempdir(), full.name = TRUE, pattern = basename(file)) | |
| new_file_rename <- gsub("xlsx$", "zip", new_file) | |
| file.rename(new_file, new_file_rename) |
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |