cudf.core.column.struct.StructMethods.explode# StructMethods.explode()[source]# 返回一个DataFrame,其列为此结构体Series的字段。 注释 请注意,列的一份副本已被创建。 示例 >>> s 0 {'a': 1, 'b': 'x'} 1 {'a': 2, 'b': 'y'} 2 {'a': 3, 'b': 'z'} 3 {'a': 4, 'b': 'a'} dtype: struct >>> s.struct.explode() a b 0 1 x 1 2 y 2 3 z 3 4 a