Home › Forums › PyKX › xgroup error in taxi and weather analysis › Reply To: xgroup error in taxi and weather analysis
-
Add .reset_index() when you create the tables to unkey them, then the for loop will run as you expect. For example:
group_taxi_dates = kx.q.xgroup("pickup_date", taxi_tab).reset_index()