sf = sqlContext.createDataFrame([[datetime.datetime(2013, 6, 29, 11, 34, 29
    )], [datetime.datetime(2015, 7, 14, 11, 34, 27)], [datetime.datetime(
    2012, 3, 10, 19, 0, 11)], [datetime.datetime(2016, 2, 8, 12, 21)], [
    datetime.datetime(2014, 4, 4, 11, 28, 29)]], ('my_col',))
datetime range filter in PySpark SQL