layout: post title: “(ENG) The basics of Spark PART 2” author: tuyennnt categories: [ Data ] image: assets/images/spark.png —

Cách Load data vào PySpark

Load data vào SparkContext

Load data vào Spark dataframe

Read & Write file từ HDFS:

https://saagie.zendesk.com/hc/en-us/articles/360029759552-PySpark-Read-and-Write-Files-from-HDFS