Awkward Array: include/awkward/python/identities.h File Reference

Loading...
Searching...
No Matches
Functions
identities.h File Reference
`#include <pybind11/pybind11.h>`
`#include "awkward/Identities.h"`

Go to the source code of this file.

## Functions
template<typename T >
py::tuple | identity (const T &self)
| Creates a single identity as a Python tuple of integers and strings. More...
template<typename T >
py::class_< ak::IdentitiesOf< T > > | make_IdentitiesOf (const py::handle &m, const std::string &name)
| Makes Identities32 and Identities64 classes in Python that mirror IdentitiesOf in C++. More...

## Function Documentation

## ◆ identity()

py::tuple identity | ( | const T & | self | ) |

Creates a single identity as a Python tuple of integers and strings.

## ◆ make_IdentitiesOf()

py::class_< ak::IdentitiesOf< T > > make_IdentitiesOf | ( | const py::handle & | m,
|  | const std::string & | name
| ) |  |

Makes Identities32 and Identities64 classes in Python that mirror IdentitiesOf in C++.