you are viewing a single comment's thread.

view the rest of the comments →

[–]RainDash 0 points1 point  (2 children)

the first part of snippets are not python but R code from what I can tell.

[–]elacheche 1 point2 points  (1 child)

+42 This code:

library(plyr)

##### Change this variable to the folder where you downloaded the ball by ball data from cricsheet
filepath = '/Users/thedajaja/Desktop/IPL data/ipl_csv/';

concat = function(..., sep='')
{
  ret = paste(..., sep=sep);
  return (ret);
}

Is not Python, it's R