Skip to content

Instantly share code, notes, and snippets.

@dalejung
dalejung / date_storage.R
Created August 17, 2012 00:46
numeric storage
# 2012-08-13 03:55:00 UTC == 2012-08-12 23:55:00 EDT
d1 <- as.POSIXlt("2012-08-13 03:55:00", tz="UTC")
d2 <- as.POSIXlt("2012-08-12 23:55:00", tz="US/Eastern")
# numeric rep of these two are equal.
x1 <- xts(, order.by=d1)
x2 <- xts(, order.by=d2)
# numeric rep of these two are equal
dc1 <- as.POSIXct("2012-08-13 03:55:00", tz="UTC")
dc2 <- as.POSIXct("2012-08-12 23:55:00", tz="US/Eastern")
@dalejung
dalejung / bob.ipynb
Created August 22, 2012 03:57
Dale dale testing #notebook #testing #inactive
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalejung
dalejung / default.ipynb
Created August 22, 2012 07:29
pandassql #notebook #trtools
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalejung
dalejung / GroupBy by irregular bins 3428504 [3428504].ipynb
Last active September 18, 2021 03:49
GroupBy by irregular bins 3428504 [3428504].ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalejung
dalejung / default.ipynb
Created August 31, 2012 20:27
pytables 3558517 #notebook #trtools
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalejung
dalejung / bob.py
Created September 29, 2012 18:27
Just a test for now
import os
# Just testing something
@dalejung
dalejung / rpy.ipynb
Created November 14, 2012 23:51
rpy2 call 4075683 #notebook #transient
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalejung
dalejung / rcall.ipynb
Created November 15, 2012 19:34
RContext 4080704 #notebook #trtools
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalejung
dalejung / binning.ipynb
Created November 20, 2012 14:04
BinGrouper groupings error 4118124 #notebook #pandas #inactive
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.