You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pymatgen/analysis/magnetism/heisenberg.py:323: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
temp_df = pd.concat([ex_mat, ex_row], ignore_index=True)
/home/ssd/.local/lib/python3.10/site-packages/pymatgen/analysis/magnetism/heisenberg.py:328: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
ex_mat = pd.concat([ex_mat, ex_row], ignore_index=True)
Expected Behavior
pymatgen/analysis/magnetism/heisenberg.py:323: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
temp_df = pd.concat([ex_mat, ex_row], ignore_index=True)
/home/ssd/.local/lib/python3.10/site-packages/pymatgen/analysis/magnetism/heisenberg.py:328: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
ex_mat = pd.concat([ex_mat, ex_row], ignore_index=True)
Minimal example
No response
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered:
Python version
python 3.10
Pymatgen version
2024.10.3
Operating system version
ubuntu 20.04lts
Current behavior
pymatgen/analysis/magnetism/heisenberg.py:323: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
temp_df = pd.concat([ex_mat, ex_row], ignore_index=True)
/home/ssd/.local/lib/python3.10/site-packages/pymatgen/analysis/magnetism/heisenberg.py:328: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
ex_mat = pd.concat([ex_mat, ex_row], ignore_index=True)
Expected Behavior
pymatgen/analysis/magnetism/heisenberg.py:323: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
temp_df = pd.concat([ex_mat, ex_row], ignore_index=True)
/home/ssd/.local/lib/python3.10/site-packages/pymatgen/analysis/magnetism/heisenberg.py:328: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
ex_mat = pd.concat([ex_mat, ex_row], ignore_index=True)
Minimal example
No response
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered: