News for hackers. Stuff that matters.
Re:Comparison – R vs. Python: head to head data analysis by lottin on Wednesday October 14, 2015 @12:35PM (#10387618)
Yes, I used IPython a lot.

What I meant by better interactive interface is that the language itself is designed with interactive use in mind.

For instance compare

  func(x$a, x$b)
  func(a, b, data=x)
  func(a=1, b=2)
with

  func(x['a'], x['b'])
  func('a', 'b', data=x)
  func([1, 2], ['a', 'b'])
The R versions are easier to type and read.
Re:Comparison – R vs. Python: head to head data analysis by unclesaamm on Wednesday October 14, 2015 @01:03PM (#10387832)
If the Python version is Pandas you could replace the brackets with dot notation. (x.a, x.b)
Re:Comparison – R vs. Python: head to head data analysis by xixi77 on Wednesday October 14, 2015 @12:52PM (#10387752)
the last one is, of course, a result of the atrocious handling of the default arguments in Python :)