
上QQ阅读APP看书,第一时间看更新
Manipulating columns in a PySpark dataframe
The dataframe is almost complete; however, there is one issue that requires addressing before building the neural network. Rather than keeping the gender value as a string, it is better to convert the value to a numeric integer for calculation purposes, which will become more evident as this chapter progresses.