1params = {'date_str_query': '%-2019-02-%'}
2
3%%bigquery df --params $params
4select * from `project.dataset.table`
5where date_str like @date_str_query
6
1date_str_query = '2019-02-%'
2sql = """
3select * from `project.dataset.table`
4where date_str like {0}
5""".format(date_str_query)
6df = client.query(sql).to_dataframe()
7