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/ |
| # Step 1. | |
| seaflow <- read.csv('seaflow_21min.csv', header=T) | |
| summary(seaflow) | |
| # Step 2. | |
| # a <- sample(dim(seaflow)[1], dim(seaflow)[1]*0.8) | |
| # trainseaflow <- seaflow[a,] | |
| # b <- 1:dim(seaflow)[1] | |
| # test.df <- seaflow[setdiff(b, a),] |
| #include <iostream> | |
| #include <chrono> | |
| #include <random> | |
| int main(int argc, char* argv []) | |
| { | |
| auto x = 1; | |
| std::cout << "auto variable x = " << x << std::endl; | |
| srand(0u); |
| 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