Calls to the df_concepts method can throw this warning:
/site-packages/dimcli/core/dataframe_factory.py:175: FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only
df = df.drop(FIELD_NAME_SCORES, 1).assign(**pd.json_normalize(df[FIELD_NAME_SCORES])) # unpack dict with new columns
This changes the call to dataframe.drop to use keywords rather than argument order.
Calls to the
df_concepts
method can throw this warning:/site-packages/dimcli/core/dataframe_factory.py:175: FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only df = df.drop(FIELD_NAME_SCORES, 1).assign(**pd.json_normalize(df[FIELD_NAME_SCORES])) # unpack dict with new columns
This changes the call to
dataframe.drop
to use keywords rather than argument order.