Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xihajun/pyspark
https://github.com/xihajun/pyspark
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xihajun/pyspark
- Owner: xihajun
- Created: 2019-04-15T21:07:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T21:08:10.000Z (almost 6 years ago)
- Last Synced: 2024-11-25T12:42:49.672Z (2 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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()
```