Пример #1
0
 def _rv_frame(rdd, col_names=None, col_types=None, lineage=None):
     """
     Return a new XFrameImpl containing the rdd, column names, and element types
     """
     # noinspection PyUnresolvedReferences
     lineage = lineage or Lineage.init_frame_lineage(Lineage.RDD, col_names)
     return xframes.xframe_impl.XFrameImpl(rdd, col_names, col_types, lineage)
Пример #2
0
 def _rv_frame(rdd, col_names=None, col_types=None, lineage=None):
     """
     Return a new XFrameImpl containing the rdd, column names, and element types
     """
     # noinspection PyUnresolvedReferences
     lineage = lineage or Lineage.init_frame_lineage(Lineage.RDD, col_names)
     return xframes.xframe_impl.XFrameImpl(rdd, col_names, col_types,
                                           lineage)