Apache Spark Quick Start Guide by Shrey Mehrotra
Author:Shrey Mehrotra
Language: eng
Format: epub, azw3
Tags: COM018000 - COMPUTERS / Data Processing, COM062000 - COMPUTERS / Data Modeling and Design, COM021030 - COMPUTERS / Databases / Data Mining
Publisher: Packt Publishing
Published: 2019-01-31T19:55:06+00:00
sales_df.write.json("sales.json")
val json_sales_DF = spark.read.json("sales.json")
json_sales_DF.createOrReplaceTempView("jsonSales")
var ipDF = spark.sql("SELECT ip FROM jsonSales WHERE id BETWEEN 10 AND 19")
ipDF.map(attributes => "IPS: " + attributes(0)).show()
DataFrame operations and associated functions
DataFrames support untyped transformations with the following operations:
printSchema: This prints out the mapping for a Spark DataFrame in a tree structure. The following code will give you a clear idea of how this operation works:
Download
Apache Spark Quick Start Guide by Shrey Mehrotra.azw3
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Access | Data Mining |
Data Modeling & Design | Data Processing |
Data Warehousing | MySQL |
Oracle | Other Databases |
Relational Databases | SQL |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8296)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6717)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6695)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6566)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6350)
Driving Data Quality with Data Contracts by Andrew Jones(6300)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6069)
Learning SQL by Alan Beaulieu(5994)
Weapons of Math Destruction by Cathy O'Neil(5778)
Big Data Analysis with Python by Ivan Marin(5353)
Data Engineering with dbt by Roberto Zagni(4350)
Solidity Programming Essentials by Ritesh Modi(3998)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3855)
Pandas Cookbook by Theodore Petrou(3567)
Blockchain Basics by Daniel Drescher(3292)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2905)
Feature Store for Machine Learning by Jayanth Kumar M J(2812)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2794)
Mastering Python for Finance by Unknown(2744)
