scirust icon indicating copy to clipboard operation
scirust copied to clipboard

data frame class

Open waynenilsen opened this issue 10 years ago • 3 comments

I am considering implementing something like the python pandas DataFrame which is usually used to hold statistical items (possibly mixed types) with column and row indexes. I think this is the library to do that in unless you think it should be implemented externally. I wanted to get your view on it before implementing this under the scirust umbrella.

If you think this is the library for it, where in the structure should the source file go? Possibly a new folder under src/?

waynenilsen avatar Feb 25 '15 20:02 waynenilsen

Hi, I would agree to have it in our code base. What about having it inside the src/stat ? I mean statistical work requires a lot more flexibility in data representation than a bare bones Matrix can provide. We can have a submodule inside src/stat (say src/stat/data) which are used for DataFrame and similar data structures which could be used for smart representation of statistical data.

Does that sound Okay?

BTW, looks like the daily build broke again today. So will try to fix it.

I am based out of India. Timezone +5:30. My skype id is shailesh.kumar.in

shailesh1729 avatar Feb 26 '15 09:02 shailesh1729

Looks like the new build error is not even in the source code. I am wondering if something has gone wrong in the compiler itself today.

https://travis-ci.org/indigits/scirust/builds/51750177

2.54s$ cargo build --verbose && cargo test --verbose Updating registry https://github.com/rust-lang/crates.io-index Downloading libc v0.1.2 Downloading log v0.2.4 Downloading rand v0.1.3 Process didn't exit successfully: rustc - --crate-name - --crate-type dylib --crate-type bin --print=file-names (status=101) --- stderr error: crate name cannot start with a hyphen: - error: aborting due to previous error

shailesh1729 avatar Feb 27 '15 04:02 shailesh1729

The build it back now (without any change from me). So it was indeed a compiler/cargo issue.

shailesh1729 avatar Feb 28 '15 12:02 shailesh1729