Summary Week 6
The text is Mastering Spark with R. Using the sc connection with Java 8, execute the following lines of code: >summarize(cars, mpg_percentile = percentile(mpg, 0.25) >summarize(cars, mpg_percentile = percentile(mpg, 0.25) %>% show_query() >summarize(cars, mpg_percentile = percentile(mpg, array(0.25, 0.5, 0.75) )) >summarize(cars, mpg_percentile = percentile(mpg, array(0.25, 0.5, 0.75) )) %>% mutate(mpg_percentile = explode(mpg_percentile))
Connected book
Written for
- Institution
- Big Data Tools & Architecture
- Course
- Big Data Tools & Architecture
Document information
- Summarized whole book?
- No
- Which chapters are summarized?
- Unknown
- Uploaded on
- July 15, 2023
- File latest updated on
- February 22, 2024
- Number of pages
- 3
- Written in
- 2022/2023
- Type
- Summary