In [1]:
from pysemantic import Project
import numpy as np
In [2]:
demo = Project("demo")
In [3]:
data = demo.load_dataset("dummy_data")
In [4]:
data.head()
Out[4]:
In [5]:
for column in data:
print column, data[column].dtype
In [6]:
zip_lengths = data['zip'].apply(len)
print np.any(zip_lengths != 5)
In [7]:
print data['X'].max()