pyjanitor-devs / pyjanitor Public Notifications Fork 139 Code Issues 100 11 Pull requests Discussions Actions Projects Wiki Security Insights [ENH] Coalesce fix #1042 3- Merged ericmjl merged 5 commits into dev trom coalesce_fix '12 hours ago Conversation Commits Checks Files changed Changes from all commits File filter Conversations Jump t0 janitor/functions/coalesce.py 00 -17,14 +17,18 00 def coalesce pd . DataFrame: 18 "Coalesce EVO more columns 0f data in order of column nanes provided _ 19 20 Given the list 0f column names coalesce finds and returns the first non-missing value from these columns, for every in the input dataframe 22 If all che column values are null for particular row , chen the 23 default_value will be filled In _ G1ven the variable arguments of column names, 21 coalesce finds and returns the first non missing value From these columns for every FOWin the input dataframe LUP 5 rou