Skip to content

Commit eac627d

Browse files
committed
remove positional argument in df.drop() (compat with pandas 2.x)
1 parent a4ea718 commit eac627d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mofapy2/core/BayesNet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def iterate(self):
770770
"time": iter_time,
771771
"number_factors": number_factors,
772772
"elbo": elbo["total"].values,
773-
"elbo_terms": elbo.drop("total", 1),
773+
"elbo_terms": elbo.drop("total", axis=1),
774774
}
775775
if "Sigma" in self.nodes.keys():
776776
tmp = self.nodes["Sigma"].getParameters() # save only last iteration

0 commit comments

Comments
 (0)