Scala is a general-purpose programming language principally targeting the Java Virtual Machine.
I am trying to read a csv file into a dataframe. I know what the schema of my dataframe should …
scala apache-spark dataframe apache-spark-sql spark-csvSuppose I give three files paths to a Spark context to read and each file has a schema in the …
scala csv apache-sparkI never understood it from the contrived unmarshalling and verbing nouns ( an AddTwo class has an apply that adds two!) …
scalaPossible Duplicate: Which programming languages can I use on Android Dalvik? Mostly, Android applications are written in Java. But i …
java android scala programming-languages scriptingI have just started to look at the Scala collections library re-implementation which is coming in the imminent 2.8 release. Those …
scala scala-2.8 scala-collectionsScala syntax has a lot of symbols. Since these kinds of names are difficult to find using search engines, a …
scala operatorsI have a DataFrame generated as follow: df.groupBy($"Hour", $"Category") .agg(sum($"value") as "TotalValue") .sort($"Hour".asc, $"TotalValue".…
sql scala apache-spark dataframe apache-spark-sqlFor reading files in Scala, there is Source.fromFile("file.txt").mkString Is there an equivalent and concise way to …
scala scala-2.9Are there any best-practice guidelines on when to use case classes (or case objects) vs extending Enumeration in Scala? They …
scala enumeration case-class