| changeset 171 | 2545bdf5ace0 |
| parent 167 | 1bbd4db36151 |
| child 199 | 2e13dedd922e |
--- a/testing1/drumb.scala Fri Feb 23 22:26:42 2018 +0000 +++ b/testing1/drumb.scala Thu Mar 08 12:32:50 2018 +0000 @@ -22,7 +22,7 @@ import scala.util._ def get_january_data(symbol: String, year: Int) : List[String] = - Source.fromFile(symbol ++ ".csv")("ISO-8859-1").getLines.toList.filter(_.startsWith(year.toString)) + Source.fromFile(symbol ++ ".csv").getLines.toList.filter(_.startsWith(year.toString)) def get_first_price(symbol: String, year: Int) : Option[Double] = {