Reader small image

You're reading from  Essential PySpark for Scalable Data Analytics

Product typeBook
Published inOct 2021
Reading LevelBeginner
PublisherPackt
ISBN-139781800568877
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Sreeram Nudurupati
Sreeram Nudurupati
author image
Sreeram Nudurupati

Sreeram Nudurupati is a data analytics professional with years of experience in designing and optimizing data analytics pipelines at scale. He has a history of helping enterprises, as well as digital natives, build optimized analytics pipelines by using the knowledge of the organization, infrastructure environment, and current technologies.
Read more about Sreeram Nudurupati

Right arrow

Considerations for PySpark to pandas conversion

This section will introduce pandas, demonstrate the differences between pandas and PySpark, and the considerations that need to be kept in mind while converting datasets between PySpark and pandas.

Introduction to pandas

pandas is one of the most widely used open source data analysis libraries for Python. It contains a diverse set of utilities for processing, manipulating, cleaning, munging, and wrangling data. pandas is much easier to work with than Pythons lists, dictionaries, and loops. In some ways, pandas is like other statistical data analysis tools such as R or SPSS, which makes it very popular with data science and machine learning enthusiasts.

The primary abstractions of pandas are Series and DataFrames, with the former essentially being a one-dimensional array and the latter a two-dimensional array. One of the fundamental differences between pandas and PySpark is that pandas represents its datasets as one- and two-dimensional...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Essential PySpark for Scalable Data Analytics
Published in: Oct 2021Publisher: PacktISBN-13: 9781800568877

Author (1)

author image
Sreeram Nudurupati

Sreeram Nudurupati is a data analytics professional with years of experience in designing and optimizing data analytics pipelines at scale. He has a history of helping enterprises, as well as digital natives, build optimized analytics pipelines by using the knowledge of the organization, infrastructure environment, and current technologies.
Read more about Sreeram Nudurupati