mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fixing df.drop call using newer pandas syntax instead of backwards-compatible syntax
This commit is contained in:
parent
cd300249f2
commit
45d9234fdf
1 changed files with 1 additions and 1 deletions
|
|
@ -4505,7 +4505,7 @@ class ScatterMatrixXS(MatrixMGXS):
|
|||
|
||||
# If the matrix is P0, remove the legendre column
|
||||
if self.scatter_format == 'legendre' and self.legendre_order == 0:
|
||||
df = df.drop(columns=['legendre'])
|
||||
df = df.drop(axis=1, labels=['legendre'])
|
||||
|
||||
return df
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue