Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xihajun/pyspark


https://github.com/xihajun/pyspark

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# PySpark
## SQL
```{python}
# First 10 rows in SQL language
query = "FROM flights SELECT * LIMIT 10"

# Get the first 10 rows of flights
flights10 = spark.sql(query)

# Show the results
flights10.show()
```