modification of skipping empty list and continuing with function

前端 未结 2 1797
失恋的感觉
失恋的感觉 2021-01-28 18:25

Background

The following code is slightly modified from skipping empty list and continuing with function

import pandas as pd
Names =             


        
2条回答
  •  心在旅途
    2021-01-28 18:50

    Just add this line in the end fillna

    df['New'].fillna(df['Text'],inplace=True)
    

提交回复
热议问题