How to delete the first few rows in dataframe Scala/sSark?

Viewed 15424

I hava a DataFrame and I want to delete first and the second row. What should I do?

This is my input:

+-----+
|value|
+-----+
|    1|
|    4|
|    3|
|    5|
|    4|
|   18|
-------

This is the excepted result:

+-----+
|value|
+-----+
|    3|
|    5|
|    4|
|   18|
-------
2 Answers
Related