duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
import requests | |
import csv | |
import sys | |
# get me all active players | |
url_allPlayers = ("http://stats.nba.com/stats/commonallplayers?IsOnlyCurrentSeason" | |
"=0&LeagueID=00&Season=2015-16") | |
#request url and parse the JSON |
# Using airquality dataset | |
data <- airquality | |
data[4:10,3] <- rep(NA,7) | |
data[1:5,4] <- NA | |
# Removing categorical variables | |
data <- airquality[-c(5,6)] | |
summary(data) | |
#------------------------------------------------------------------------------- |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python | |
env/ |
import sys | |
import json | |
def hw(): | |
print 'Hello, world!' | |
def lines(fp): | |
print str(len(fp.readlines())) | |
def main(): |
PIMCO Quantitative Research
Steve Sapra, Ph.D., CFA and Manny Hunjan, CFA
October 2013
# load the package and data set "Teams" | |
install.packages("Lahman") | |
library("Lahman") | |
data(Teams) | |
# | |
# | |
# CREATE LEAGUE SUMMARY TABLES | |
# ============================ | |
# | |
# select a sub-set of teams from 1901 [the establishment of the American League] forward to 2012 |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
using namespace std; | |
int main() | |
{ | |
// The user would introduce different values for divisor | |
int divisor = 3; | |
vector<int> numbers { 1, 2, 3, 4, 5, 10, 15, 20, 25, 35, 45, 50 }; |