NestSeriesAccessor#

class NestSeriesAccessor(series)[source]#

Accessor for operations on Series of NestedDtype

Available as “.nest” property of a Series with NestedDtype.

This accessor implements MutableMapping interface over the fields of the struct, so you can access, change and delete the fields as if it was a dictionary, with [], [] = and del operators.

__init__(series)[source]#

Methods

__init__(series)

clear()

Mandatory MutableMapping method, always fails with NotImplementedError

drop(column)

Remove the column(s) from the series and return a new series

get(k[,d])

items()

keys()

len()

Lengths of the list arrays

query(query)

Query the flat arrays with a boolean expression

set_column(column, value)

Set the column from a flat-array of values and return a new series

set_filled_column(column, value)

Set the column by repeating values and return a new series

set_flat_column(column, value)

Set the column from flat-array of values and return a new series

set_list_column(column, value)

Set the field from list-array of values and return a new series

to_flat([columns])

Convert nested series into dataframe of flat arrays

to_flatten_inner(field)

Explode the nested inner field and return as a NestedSeries

to_lists([columns, large_list])

Convert nested series into dataframe of list-array columns

values()

Attributes

columns

Names of the nested columns

flat_index

Index of the flattened arrays

flat_length

Length of the flat arrays