- Frank Kane's Taming Big Data with Apache Spark and Python
- Frank Kane
- 116字
- 2021-07-02 21:12:24
Key/value RDDs and the average friends by age example
A powerful thing to do with RDDs is to put more structured data into it. One thing we can do is put key/value pairs of information into Spark RDDs and then we can treat it like a very simple database, if you will. So let's walk through an example where we have a fabricated social network set of data, and we'll analyze that data to figure out the average number of friends, broken down by age of people in this fake social network. We'll use key/value pairs and RDDs to do that. Let's cover the concepts, and then we'll come back later and actually run the code.
推薦閱讀
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Objective-C Memory Management Essentials
- Dynamics 365 Application Development
- Mastering Kotlin
- Mastering Python Networking
- 快速念咒:MySQL入門指南與進(jìn)階實(shí)戰(zhàn)
- The HTML and CSS Workshop
- jQuery開發(fā)基礎(chǔ)教程
- R語言與網(wǎng)絡(luò)輿情處理
- HTML5從入門到精通(第4版)
- Scala Reactive Programming
- C#程序設(shè)計(jì)(項(xiàng)目教學(xué)版)
- Qt5 C++ GUI Programming Cookbook
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)原理(第2版)
- 零代碼實(shí)戰(zhàn):企業(yè)級應(yīng)用搭建與案例詳解