ihmeuw-msca / pyDisagg

BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Concat with empty warning #41

Closed AHsu98 closed 1 month ago

AHsu98 commented 4 months ago

Getting 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. df_nan = pd.concat( from preprocess.py. warning comes from here