def transform(data):
data['Field1'].fillna('value_to_replace_the_null', inplace=True)
data['Field2'].fillna('9999', inplace=True)
data['Field3'].fillna('ABC', inplace=True)
data['Field4'].fillna('XYZ', inplace=True)
data['FieldN'].fillna('1111', inplace=True)
return data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
10 | |
9 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 |