Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fillna string

# importing pandas module 
import pandas as pd 
  
# making data frame from csv file 
nba = pd.read_csv("nba.csv") 
  
# replacing na values in college with No college 
nba["College"].fillna( method ='ffill', inplace = True) 
 
PREVIOUS NEXT
Tagged: #fillna #string
ADD COMMENT
Topic
Name
4+1 =