These are chat archives for data-8/datascience

5th
Jan 2016
Carl Boettiger
@cboettig
Jan 05 2016 17:02
@choldgraf @SamLau95 Good points about material being needed for instructors
@choldgraf Re: computing on Windows -- I'm curious: what's the primary reason instructors don't want to work directly on ds8.berkeley.edu and sidestep the install issues?
Carl Boettiger
@cboettig
Jan 05 2016 17:07
(particularly for those instructors not coming from a scientific computing perspective)
Carl Boettiger
@cboettig
Jan 05 2016 17:39
@henryem @SamLau95 how does table.values('my_column') differ from table.select('my_column')? Is there a reason to use one over the other?
henryem
@henryem
Jan 05 2016 17:59
Yeah, they're very different. The first returns an array (the column) and the second returns a table with only the column 'my_column' in it.
Huge source of confusion for students, but can't think of a good way to avoid that :-/
Hmm @SamLau95 what if we had an alias for select called something like subtable_with_columns?
Wonder if it would be easier to teach initially
Then give them the shorter alias later
Chris Holdgraf
@choldgraf
Jan 05 2016 19:43
@cboettig I'm not sure why people wouldn't use the ds8 environment...to be honest I don't know much about it yet either. It could just be that people default to doing things on their own computers, but maybe it can be fixed by pushing people towards the ds8.berkeley.edu resources
if somebody wants to point me to a guide on using the online ds8 environment, I can figure it out and then start telling instructors that as necessary
Sam Lau
@SamLau95
Jan 05 2016 20:01
@cboettig i personally don’t see much benefit from using a local install other than needing dependencies that aren’t on ds8 (eg. I have some extensions to jupyter installed locally). i imagine it’d be a lot easier for people who don’t want to deal with installation issues to use ds8
@henryem not sure — i feel like having one method name and then switching to another could result in some confusion itself
Carl Boettiger
@cboettig
Jan 05 2016 21:49
hmm, Table has no attribute 'value'
henryem
@henryem
Jan 05 2016 22:32
Typo? Should be values, not value
Sam Lau
@SamLau95
Jan 05 2016 22:33
@choldgraf i was planning to write that up today, will ping you when it’s done
@cboettig try .values instead of value
Carl Boettiger
@cboettig
Jan 05 2016 23:51
whoops, thanks!