53084/how-to-process-an-array-in-scala
Hi,
We can use loop control structures to process an array. Let’s take an example of processing the Scala Array:
To iterate over the array:
scala> var a=Array(1,2,3) a: Array[Int] = Array(1, 2, 3) scala> for(i<-a){ | println(i) | }
Result :
1
2
3
You can select the column and apply ...READ MORE
Hi, You can check this example in your ...READ MORE
scala> val rdd1 = sc.parallelize(List(1,2,3,4,5)) - Creating ...READ MORE
You have to install Intellij with scala plugin. ...READ MORE
Instead of spliting on '\n'. You should ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
Hi, To create an RDD from external file ...READ MORE
Function Definition : def test():Unit{ var a=10 var b=20 var c=a+b } calling ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.