Corso
Introduzione a Spark SQL in Python
AvanzatoLivello di competenza
Aggiornato 03/2026Inizia Il Corso Gratis
Incluso conPremium or Team
SparkData Manipulation4 h15 video52 Esercizi4,200 XP19,858Attestato di conseguimento
Crea il tuo account gratuito
o
Continuando, accetti i nostri Termini di utilizzo, la nostra Informativa sulla privacy e che i tuoi dati siano conservati negli Stati Uniti.Preferito dagli studenti di migliaia di aziende
Vuoi formare 2 o più persone?
Prova DataCamp for BusinessDescrizione del corso
Impara Spark SQL
Se conosci bene SQL e hai sentito parlare bene di Apache Spark, questo corso fa proprio al caso tuo. Apache Spark è un framework informatico per l'elaborazione dei big data, e Spark SQL è un componente di Apache Spark. Questo corso di quattro ore ti insegnerà come usare Spark in modo ancora più efficace, grazie a funzioni SQL avanzate, come le funzioni finestra.In quattro capitoli, userai Spark SQL per analizzare dati temporali, trovare le parole più frequenti in un documento di testo, creare insiemi di caratteristiche da un testo in linguaggio naturale e usarli per prevedere l'ultima parola di una frase con la regressione logistica.
Scopri come usare Spark SQL
Inizierai creando e interrogando una tabella SQL in Spark, oltre a imparare come usare le funzioni finestra SQL per fare somme cumulative, differenze cumulative e altre operazioni.Poi, scoprirai come usare la funzione window in Spark SQL per l'elaborazione del linguaggio naturale, compreso l'uso di un'analisi a finestra mobile per trovare sequenze di parole comuni.
Nel capitolo 3 imparerai come usare l'interfaccia utente SQL Spark per memorizzare correttamente nella cache i DataFrame e le tabelle SQL, prima di scoprire le migliori pratiche per la registrazione in Spark.
Infine, usi tutte le competenze acquisite finora per caricare e tokenizzare il testo grezzo prima di estrarre le sequenze di parole. Poi userai la regressione logistica per classificare il testo, usando dati grezzi in linguaggio naturale per addestrare un classificatore di testo.
Scopri tutto quello che c'è da sapere su Spark SQL
Alla fine del corso, avrai una buona conoscenza di Spark SQL e capirai come Spark unisce la potenza dell'elaborazione distribuita con la facilità d'uso di Python e SQL.Prerequisiti
Python ToolboxPostgreSQL Summary Stats and Window FunctionsIntroduction to PySpark1
PySpark SQL
In this chapter you will learn how to create and query a SQL table in Spark. Spark SQL brings the expressiveness of SQL to Spark. You will also learn how to use SQL window functions in Spark. Window functions perform a calculation across rows that are related to the current row. They greatly simplify achieving results that are difficult to express using only joins and traditional aggregations. We'll use window functions to perform running sums, running differences, and other operations that are challenging to perform in basic SQL.
2
Using Window Function SQL for Natural Language Processing
In this chapter, you will be loading natural language text. Then you will apply a moving window analysis to find frequent word sequences.
3
Caching, Logging, and the Spark UI
In the previous chapters you learned how to use the expressiveness of window function SQL. However, this expressiveness now makes it important that you understand how to properly cache dataframes and cache SQL tables. It is also important to know how to evaluate your application. You learn how to do do this using the Spark UI. You'll also learn a best practice for logging in Spark. Spark SQL brings with it another useful tool for tuning query performance issues, the query execution plan. You will learn how to use the execution plan for evaluating the provenance of a dataframe.
4
Text Classification
Previous chapters provided you with the tools for loading raw text, tokenizing it, and extracting word sequences. This is already very useful for analysis, but it is also useful for machine learning. What you've learned now comes together by using logistic regression to classify text. By the conclusion of this chapter, you will have loaded raw natural language text data and used it to train a text classifier.
Introduzione a Spark SQL in Python
Corso completato
Ottieni Attestato di conseguimento
Aggiungi questa certificazione al tuo profilo LinkedIn, al curriculum o al CVCondividila sui social e nella valutazione delle tue performance
Incluso conPremium or Team
Iscriviti OraUnisciti a oltre 19 milioni di studenti e inizia Introduzione a Spark SQL in Python oggi!
Crea il tuo account gratuito
o
Continuando, accetti i nostri Termini di utilizzo, la nostra Informativa sulla privacy e che i tuoi dati siano conservati negli Stati Uniti.