Hi,
I would like to know what is best way to create a package locally. I am on
windows. I can not use nimble install say nimdata. There is proxy issues.
However, I can download the zip file from git and say extract in some folder.
Now what is best way to create package.
I tried nimble install
Sorry, I will have a sequence of say object or another tuple(it can have any
number of elements) In example case it has 2 field one int and another one
string. I want to create a dynamic tuple based on this sequence.
My new tuple can have 1,2, or any number of fields but all of these will refer
Thanks a lot for the responses.
I wanted it to be generic.
> . I don't know if the int type is essential to you algorithm, I ignorantly
> assumed it is not (sorry if I might be wrong here).
I can have strings as well there. In case of string, i will have a diff of 2 if
strings are not same oth
Thanks for answers.
Sequence would have following format 10,'a' 20,'b' 30,'c'
Thanks a lot for your feedback.
I looked into the macros to get the type. It got bit messy but yes to make it
more generic I will need to use macro.
I will be creating a macro which will generate all of this code.
As usual it will take time to use best method in Nim as I might not be aware of
Hi ,
I have implemented KNN in nim. as of now I am storing the distance for a test
point from each train point which I wont keep in future as this is memory
consuming. I am new to NIM. I am mor eof R and python guy and have faced
serious issues with static typing.
Just want to understand what
HI I have a tuple or say object
type
a = tuple[b : int, c : string]
var
d : a
d = (b:10,c:"cd") echo d
I want to generated this statement based on a sequence d = (b:10,c:"cd")
What would be the best way :) can I use templates or do I need macros ?
Thanks
HI,
I have ram around 8Gb and I want to read a file which is 16gb what is best way.
I know I cant keep whole data in seq[] is there any alternate? Or it is better
to read the data from file directly rather than reading it in seq and process.
Also, is there a way such that I can keep 10% data in
Thanks for reply. I want to use bit complicated stats. I want to include all
types of columns not just floats.
Anyway, I have further question. I was thinking that I will create a type and
then I will use the Seq[type] to store the data. It is working fine. But I have
another question. How can
Hi,
I would like to know what is best way to create equivalent of dataframe in R or
python.
I would like to do basic stats using the dataframes but I want to try in
something similar in Nim.
Thanks
10 matches
Mail list logo