From 663a68d9fbb825ea1c4a6609344894e82d16b40a Mon Sep 17 00:00:00 2001 From: Ruslan Dautkhanov Date: Sun, 18 Feb 2018 09:57:55 -0700 Subject: [PATCH] fetch index column correctly --- abalon/spark/pivoter.py | 2 +- abalon/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abalon/spark/pivoter.py b/abalon/spark/pivoter.py index ec8f41d..c3d396e 100644 --- a/abalon/spark/pivoter.py +++ b/abalon/spark/pivoter.py @@ -113,7 +113,7 @@ def map_dict_to_denseArray(idx, d): spark = get_spark() # assuming particular order of columns - (idx_col, key_col) = df.columns[0:1] + (idx_col, key_col) = df.columns[0:2] if not all_vars: # get list of variables from the dataset: diff --git a/abalon/version.py b/abalon/version.py index 90d6f9b..040e296 100644 --- a/abalon/version.py +++ b/abalon/version.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -version = '2.2.2' +version = '2.2.3'