openPMD-api
|
Functions | |
def | read_chunk_to_df (species, chunk) |
def | particles_to_daskdataframe (particle_species) |
Variables | |
bool | found_dask = True |
bool | found_pandas = True |
This file is part of the openPMD-api. Copyright 2021 openPMD contributors Authors: Axel Huebl, Dmitry Ganyushin, John Kirkham License: LGPLv3+
def openpmd_api.DaskDataFrame.particles_to_daskdataframe | ( | particle_species | ) |
Load all records of a particle species into a Dask DataFrame. Parameters ---------- particle_species : openpmd_api.ParticleSpecies A ParticleSpecies class in openPMD-api. Returns ------- dask.dataframe A dask dataframe with particles as index and openPMD record components of the particle_species as columns. Raises ------ ImportError Raises an exception if dask or pandas are not installed See Also -------- openpmd_api.BaseRecordComponent.available_chunks : available chunks that are used internally to parallelize particle processing dask.dataframe : the central dataframe object created here