51283/how-to-implement-two-level-loop-in-scala
Hi,
You can use two level loops using the below command:
scala> for (i<- 1 to 5; j<- 1 to 4) { println(s"($i,$j)")
So you can see the output.
Hi @Raunak. You can change the replication ...READ MORE
Function Definition : def test():Unit{ var a=10 var b=20 var c=a+b } calling ...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
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, Yes, in scala there is a guard condition where ...READ MORE
Hey, There are two ways to find the ...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.