Answers for "how to add coloumn based on other column"

1

how to add coloumn based on other column

metadata['class_pnemonia'] = metadata['class'].astype('category').map({0: 'HEALTHY ', 1: 'PNEUMONIA'})
Posted by: Guest on August-09-2021

Code answers related to "how to add coloumn based on other column"

Browse Popular Code Answers by Language