Pavel Gorgulov

Results 167 comments of Pavel Gorgulov

Here is a working example: ``` LongBuffer buffer = null; try (Jep jep = new Jep(new JepConfig().addSharedModules("numpy").setRedirectOutputStreams(true))) { jep.eval("import numpy as np"); jep.eval("x = np.array([1, 2, 3])"); // This is...

```kotlin val json = """{ "name": "Petr", "date": "2000-13-21T15:27:49Z" }""" val df = DataFrame.readJsonStr(json) ``` then I try to convert a type of date to LocalDateTime using String API and...

Drop elements or dims? like numpy `[:-1]` Because for case [:-1] there is already slicing

Due to the design of the language, dotMM methods must be public, although they are not meant to be, and therefore not documented.

Do you mean set all elements to 0 in the array?

You can set a ndarray as null, and gc will remove the ndarray when it runs

Please show stacktrace And what dependencies do you use?

if you depend on `multik-default`, then there is `multik-openblas` there ([link1](https://github.com/Kotlin/multik#modules), [link2](https://blog.jetbrains.com/kotlin/2022/07/multik-0-2-multiplatform-with-support-for-android-and-apple-silicon/#Multiplatform)). and what processor do you have in your phone? if you run in an emulator, it will not...

Another clarification: is this a multiplatform project?

I was unable to reproduce this error. But I found out a few things: 1. This error is not related to native code in multik. So if you have multik-kotlin...