Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Rick Hull
@rickhull
it seems to me that a data frame represents a set of parameters across a population (or iteration)
maybe we are looking at 0-100 for a set of individuals, or one individual from t=0-100
but one event has a consistent representation whether xy, xyz, or abcwtfbbq
an event is a set of associated attributes, no?
is that event also a vector? sure
but usually we talk about one attribute over say time, that's a vector
Rick Hull
@rickhull
so one view is the xyz is a vector, and we have N of them
the other view is x0..N is a vector
and we have two more
y and z
in daru, there is a row / vector distinction
how is this made? is it arbitrary?
Rick Hull
@rickhull
let me make this more concrete. say I have 3D coordinates over time. xyz t=0..N
perhaps a table of x, y, z, t
maybe the t intervals are regular, maybe not
which are the vectors and rows if I want to meadure central tendency in 3D space
*measure -- sorry, busted elbow
Athitya Kumar
@athityakumar
@rickhull @zverok : Build is passing now. :smile:
Victor Shepelev
@zverok
:tada:
Shekhar Prasad Rajak
@Shekharrajak
=> #<Daru::Index(4): {admit, gpa, gre, rank}>
irb(main):018:0> a1 = Daru::Index.new([:admit, :gpa, :gre, :rank])
=> #<Daru::Index(4): {admit, gpa, gre, rank}>
irb(main):019:0> a1.include?('gpa')
=> false
output must be true, right ?
Ananyo Maiti
@ananyo2012
@Shekharrajak You are using a symbol in the array but string in the query
al.include?(:gpa) should give true
Shekhar Prasad Rajak
@Shekharrajak
Thanks @ananyo2012, it was my mistake.
Ananyo Maiti
@ananyo2012
Np :blush:
Ananyo Maiti
@ananyo2012
I am getting an error while using the Daru dataframe plot method
NameError: uninitialized constant Nyaplot::Frame::IRuby
I have installed iruby and also tried to run it in a terminal instance in iruby notebook
Still getting the same error
Is there anything I should require before using the plot method?
Shekhar Prasad Rajak
@Shekharrajak
I am also getting similar error.
Can anyone share any link or example for how to use from_activerecord?
Athitya Kumar
@athityakumar

Build is failing on master - but I think the issue is on Travis CI's end.

Gem::RemoteFetcher::UnknownHostError: timed out

Ananyo Maiti
@ananyo2012
@Shekharrajak in case you didn't find. You need to setup an active record connect with a valid database to use from_activerecord
Shekhar Prasad Rajak
@Shekharrajak
Thanks @ananyo2012 , how can we do it? I want to test it.
Ananyo Maiti
@ananyo2012
Before that make sure you have the database already present
Athitya Kumar
@athityakumar
Travis CI build is still failing on master - and this time, it's on us - Rubocop offenses.
Pankaj C
@cpankaj
@v0dro How soon can we expect an official release with #341 and #331 fix?
Matt Steen
@MatthewSteen
hey devs, i'm excited to try out daru and was wondering what the reasons were for choosing the spreadsheet gem dependency over other options?
(i've been using rubyXL for my work)
Victor Shepelev
@zverok
@MatthewSteen Historical reasons. Currently there is a great rework effort for import/export, done in https://github.com/sciruby/daru-io repo. IIRC, it uses both spreadsheet (for old Excel-2003) and RubyXL (for new format support)
Matt Steen
@MatthewSteen
thanks for the background @zverok. i saw the spreadsheet dep there, but no rubyXL. not sure the choice will change my work, since we compared the two before choosing and didn't see much difference.
Victor Shepelev
@zverok
RubyXL work is here: SciRuby/daru-io#64
That gem is WIP, we estimate to integrate it properly in some upcoming weeks. Sorry about vague estimation, huge refactoring towards v.1.0 of daru...
Matt Steen
@MatthewSteen
no worries, just curious about others' choices for one vs the other.
Adit Mehta
@aditmehta9
Hey, I am GSoC applicant. I was exploring SciRuby projects and found Daru project interesting and wanted to learn about SciRuby/Daru can you guide me how to get started.
Shekhar Prasad Rajak
@Shekharrajak
@aditmehta9 , setup the daru project and contribute , that will be a good start .
Rohit Ner
@rohitner
maintainers please review daru #455
Victor Shepelev
@zverok
@rohitner will do today or tomorrow.
kojix2
@kojix2
It would be nice to have an icon representing Daru.
Shekhar Prasad Rajak
@Shekharrajak
Yeah :)