Skip to content

Instantly share code, notes, and snippets.

@RussellSpitzer
Created April 11, 2016 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RussellSpitzer/67afc72e4af71c682fb8c700f4eb7fa4 to your computer and use it in GitHub Desktop.
Save RussellSpitzer/67afc72e4af71c682fb8c700f4eb7fa4 to your computer and use it in GitHub Desktop.
```python
df = sqlContext.createDataFrame([("test", 1)])
```
```python
df.show()
```
+----+---+
| _1| _2|
+----+---+
|test| 1|
+----+---+
```python
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment