From 8268a3d67098812991205cfc78f3fccc146e1f4f Mon Sep 17 00:00:00 2001 From: Sangwon Lim Date: Thu, 16 Jul 2020 10:53:50 -0700 Subject: [PATCH] .ix replaced with .loc indexer --- rvic/parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rvic/parameters.py b/rvic/parameters.py index e98c7aa..7806488 100644 --- a/rvic/parameters.py +++ b/rvic/parameters.py @@ -191,7 +191,7 @@ def gen_uh_init(config): if 'names' in pour_points: pour_points.fillna(inplace=True, value='unknown') for i, name in enumerate(pour_points.names): - pour_points.ix[i, 'names'] = strip_invalid_char(name) + pour_points.loc[i, 'names'] = strip_invalid_char(name) pour_points.drop_duplicates(inplace=True) pour_points.dropna()