python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Sort Julia DataFrame in descending Order
I have a DataFrame
using DataFrames
using DataFramesMeta
using Chain
df = DataFrame(a=1:3,b=4:6)
that I want to sort descending by column :a. Doing it ascending is intuitive...
@chain df begin
@...
Georgery
Votes: 0
Answers: 2
Julia subsetting dataframe with multiple conditions
In DataFramesMeta, why should I wrap every condition within a pair of parentheses? Below is an example dataframe where I want a subset that contains values greater than 1 or is missing.
d = DataFrame(...

Lobshi
Votes: 0
Answers: 1
Malformed expression in DataFramesMeta.js when @selecting from DataFrame using a Symbol("x") expression
I have a Julia DataFrame which I can work with fine in any normal way. For example, let's say the df is
df = DataFrame(:x => [1,2,3], :y => [4,5,6], :z => [7,8,9]);
I can easily do
julia>...
Morpheu5
Votes: 0
Answers: 1