if mystring and mystring.strip(): print "not null and not empty string" else: print "null or empty string"
In Spark >= 1.5 you can use the size function to calculate the length of a column:
You can configure the AWS Command Line Interface to use a role by creating a profile for the role in the ~/.aws/config file. The following example shows a ro...
```python import matplotlib.pyplot as plt
```python import matplotlib.pyplot as plt import numpy as np