Documentation ¶
Index ¶
- func CallPyFunc(obj *python3.PyObject, name string, args ...*python3.PyObject) *python3.PyObject
- func GetFromType(t arrow.Type) (arrow.DataType, error)
- func GetIntAttr(obj *python3.PyObject, attr string) (int, bool)
- func PyBufferToBytes(pyBuffer *python3.PyObject) ([]byte, error)
- func PyBuffersGetBuffer(pyBuffers *python3.PyObject, i int) (*memory.Buffer, error)
- func PyBuffersToBuffers(pyBuffers *python3.PyObject) ([]*memory.Buffer, error)
- func PyChunkGetBuffers(pyChunk *python3.PyObject) ([]*memory.Buffer, error)
- func PyChunkGetLength(pyChunk *python3.PyObject) (int, error)
- func PyChunkGetNullCount(pyChunk *python3.PyObject) (int, error)
- func PyChunkGetOffset(pyChunk *python3.PyObject) (int, error)
- func PyChunkGetPyBuffers(pyChunk *python3.PyObject) (*python3.PyObject, error)
- func PyChunkToChunk(pyChunk *python3.PyObject, dtype arrow.DataType) (array.Interface, error)
- func PyChunkToData(pyChunk *python3.PyObject, dtype arrow.DataType) (*array.Data, error)
- func PyChunkedGetPyChunks(pyChunked *python3.PyObject) (*python3.PyObject, error)
- func PyChunkedToChunked(pyChunked *python3.PyObject, dtype arrow.DataType) (*array.Chunked, error)
- func PyChunkedToChunks(pyChunked *python3.PyObject, dtype arrow.DataType) ([]array.Interface, error)
- func PyChunksGetChunk(pyChunks *python3.PyObject, i int, dtype arrow.DataType) (array.Interface, error)
- func PyChunksGetPyChunk(pyChunks *python3.PyObject, i int) (*python3.PyObject, error)
- func PyColumnGetPyChunked(pyColumn *python3.PyObject) (*python3.PyObject, error)
- func PyColumnToChunkedWithField(pyColumn *python3.PyObject, field arrow.Field) (*array.Chunked, error)
- func PyColumnToColumnWithField(pyColumn *python3.PyObject, field arrow.Field) (*array.Column, error)
- func PyDataTypeGetID(pyDtype *python3.PyObject) (int, error)
- func PyDataTypeToDataType(pyDtype *python3.PyObject) (arrow.DataType, error)
- func PyFieldToField(pyField *python3.PyObject) (*arrow.Field, error)
- func PySchemaFromPyTable(pyTable *python3.PyObject) (*python3.PyObject, error)
- func PySchemaToSchema(pySchema *python3.PyObject) (*arrow.Schema, error)
- func PyTableGetPyColumn(pyTable *python3.PyObject, name string) (*python3.PyObject, error)
- func PyTableToColumns(pyTable *python3.PyObject) (*arrow.Schema, []array.Column, error)
- func PyTableToColumnsWithSchema(pyTable *python3.PyObject, schema *arrow.Schema) ([]array.Column, error)
- func PyTableToTable(pyTable *python3.PyObject) (array.Table, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallPyFunc ¶
func CallPyFunc(obj *python3.PyObject, name string, args ...*python3.PyObject) *python3.PyObject
A helper for first fetching the function and then calling it
func GetFromType ¶
GetFromType returns a arrow.DataType for a given arrow.Type
func GetIntAttr ¶
func PyBufferToBytes ¶
func PyBuffersGetBuffer ¶
func PyBuffersToBuffers ¶
func PyChunkGetBuffers ¶
func PyChunkGetLength ¶
func PyChunkGetNullCount ¶
func PyChunkGetOffset ¶
func PyChunkGetPyBuffers ¶
func PyChunkGetPyBuffers(pyChunk *python3.PyObject) (*python3.PyObject, error)
func PyChunkToChunk ¶
func PyChunkToData ¶
func PyChunkedGetPyChunks ¶
func PyChunkedGetPyChunks(pyChunked *python3.PyObject) (*python3.PyObject, error)
func PyChunkedToChunked ¶
func PyChunkedToChunks ¶
func PyChunksGetChunk ¶
func PyChunksGetPyChunk ¶
func PyColumnGetPyChunked ¶
func PyColumnGetPyChunked(pyColumn *python3.PyObject) (*python3.PyObject, error)
func PyColumnToColumnWithField ¶
func PyColumnToColumnWithField(pyColumn *python3.PyObject, field arrow.Field) (*array.Column, error)
PyColumnToColumnWithField turns a PyColumn into a GoColumn
func PyDataTypeGetID ¶
func PyDataTypeToDataType ¶
PyDataTypeToDataType returns the Go arrow DataType given the Python type.
func PyFieldToField ¶
PyFieldToField given a Python field gets the Go Arrow field.
func PySchemaFromPyTable ¶
func PySchemaFromPyTable(pyTable *python3.PyObject) (*python3.PyObject, error)
PySchemaFromPyTable returns a pyarrow schema from a pyarrow Table.
func PySchemaToSchema ¶
PySchemaToSchema given a Python schema gets the Go Arrow schema.
func PyTableGetPyColumn ¶
PyTableGetPyColumn returns the PyColumn given the name from the PyTable
func PyTableToColumns ¶
PyTableToColumns returns the records in the pyarrow table.
func PyTableToColumnsWithSchema ¶
func PyTableToColumnsWithSchema(pyTable *python3.PyObject, schema *arrow.Schema) ([]array.Column, error)
PyTableToColumns returns the columns in the pyarrow table.
func PyTableToTable ¶
Types ¶
This section is empty.