From 5f34ca05b90ab64e9d0c4292b921266e49d701ef Mon Sep 17 00:00:00 2001 From: Jean Helie Date: Mon, 7 Aug 2017 11:46:06 +0100 Subject: [PATCH] use == to test String equality (#17171) --- pandas/io/parquet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index 0a4426b55b323..09603fd6fdcce 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -10,10 +10,10 @@ def get_engine(engine): """ return our implementation """ - if engine is 'auto': + if engine == 'auto': engine = get_option('io.parquet.engine') - if engine is 'auto': + if engine == 'auto': # try engines in this order try: return PyArrowImpl()