I have a DataFrame, and I am creating a function that receives it, extracts a few columns and convert those columns into a matrix. I was using Matrix{T}(df) and it worked, but when the slected columns turn to be 1, it says

```
MethodError: no method matching (Matrix)(::Vector{Float64})
```

So I read and found that there is reshape function, but I might not always have a constant number of rows or columns. I know I could define the correspondent variables but isn’t there any more elegant solution? Isn’t there any function like Matrix() that can handle the case where I have only one column?