mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Fix iteritems deprecation (#593)
This commit is contained in:
parent
301cda8d69
commit
12200039f5
@ -549,7 +549,7 @@ class FieldMappings:
|
|||||||
f"{repr(non_existing_columns)[1:-1]} column(s) not in given dataframe"
|
f"{repr(non_existing_columns)[1:-1]} column(s) not in given dataframe"
|
||||||
)
|
)
|
||||||
|
|
||||||
for column, dtype in dataframe.dtypes.iteritems():
|
for column, dtype in dataframe.dtypes.items():
|
||||||
if es_type_overrides is not None and column in es_type_overrides:
|
if es_type_overrides is not None and column in es_type_overrides:
|
||||||
es_dtype = es_type_overrides[column]
|
es_dtype = es_type_overrides[column]
|
||||||
if es_dtype == "text":
|
if es_dtype == "text":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user