by eloisius · 11y ago · 0 comments
Everything about Pandas, IPython(Now Jupyter) and R (And the other data languages) are 100% about performing functions.
Personally, I'm comfortable writing Python, but I bet you'd see more adoption for non-programmer academics who still need to work with data.
Look at Open Refine you might really like it.
http://lemire.me/blog/archives/2014/05/23/you-shouldnt-use-a...
Another shortcoming of spreadsheets is that they don't solve what I consider to be the Fundamental Problem of Programming: How to keep your sanity when your project gets bigger than one screen or one page. Of course programmers have lots of ways to deal with this, by creating named abstractions, subroutines, and so forth. It's why we can write million line programs today. But how it's solved in Excel seems incredibly clumsy by comparison. Of course you can adopt the conventions of programming by using Visual Basic, but that seems to occur quite rarely.
But an edit-able tabular data array (that was also accessible programmatically) would be really super.
import pandas as pd
df = pd.DataFrame() ...loads data...
def modify_column(x): """ modify x"""" return modified_x
df['column_name'].apply(lambda x: modify_column(x))