阅读背景:

根据特定列排序时的比率拆分数据框

来源:互联网 

I need to split a dataframe in spark using scala based on a give ratio. This should be done on the sorted version of dataframe by a particular column named ts. The first ratio is used for a training and the lats part is going to be used for validation.I need to split a dataframe in spark using scal




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: