Use concat instead of append for pandas in distribution change
This avoids a future deprecation warning. Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
This commit is contained in:
Родитель
a136ed41bf
Коммит
c988220819
|
@ -261,7 +261,7 @@ def _fit_accounting_for_mechanism_change(
|
|||
fdr_control_method,
|
||||
)
|
||||
|
||||
joint_data = old_data.append(new_data, ignore_index=True, sort=True)
|
||||
joint_data = pd.concat([old_data, new_data], ignore_index=True, sort=True)
|
||||
|
||||
for node in causal_model_new.graph.nodes:
|
||||
if mechanism_changed_for_node[node]:
|
||||
|
|
Загрузка…
Ссылка в новой задаче