This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import xlrd | |
| import os | |
| import gzip | |
| workbook = xlrd.open_workbook("example.xlsx") | |
| worksheet = workbook.sheet_by_index(0) | |
| for row_num in range(0, worksheet.nrows): | |
| row_values = [v.value for v in worksheet.row(row_num) if v.value] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ps -eo pmem,pcpu, vsize, user, pid, cmd | sort -k 1 -nr | head -15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(googleVis) | |
| gSee <- function(df) { | |
| return(plot(gvisTable(df, options = list(showRowNumber = TRUE, | |
| page = 'enable', | |
| pageSize = 30)))) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/env python | |
| """ | |
| Assign colors to each school's pin | |
| """ | |
| from BeautifulSoup import BeautifulSoup | |
| # Hash to store style values | |
| styles = {} |
NewerOlder