News for hackers. Stuff that matters.
Re:Python Data Visualization 2018: Why So Many Libraries? by wodenokoto on Friday November 16, 2018 @07:32PM (#18473095)
There's a lot of good things to say about ggplot, but I feel like the best thing is RStudios ability to auto-complete column names of the input dataframe throughout your pipe of ggplot commands / functions.

I think I would enjoy Python just as much if I figured out how to auto complete column names when writing code for my plots and pandas operations.

Re:Python Data Visualization 2018: Why So Many Libraries? by laingc on Friday November 16, 2018 @08:36PM (#18473372)
Pandas dataframes can autocomplete column names using the dot syntax.
Re:Python Data Visualization 2018: Why So Many Libraries? by wodenokoto on Saturday November 17, 2018 @01:37AM (#18474317)
I know I can auto complete with

    df.mycolumn
But what about

    df.sort_values(by='mycolumn')
In that kind of cases RStudios is smart enough to know that such an argument should be populated by a column name from the dataframe that function is being applied to.
Re:Python Data Visualization 2018: Why So Many Libraries? by jononor on Saturday November 17, 2018 @05:37PM (#18477725)
Can't you use df.mycolumn in that position, and get the completion?