Skip to content

Instantly share code, notes, and snippets.

View wphicks's full-sized avatar

William Hicks wphicks

  • NVIDIA
  • Gainesville, FL
View GitHub Profile
def benchmark_pandas():
import timerit
import pandas as pd
import numpy as np
column_data = {
key: np.random.rand(1000)
for key in map(chr, range(ord('a'), ord('z')))
}
data_frame = pd.DataFrame(column_data)