import DataFrames
const DF = DataFrames
DF.@data ... etc

On Mon, Oct 24 2016, novatena2...@gmail.com wrote:

> Hello,
>
> is there an official way to using a module but with different name (not the 
> name of the module), like "import numpy as np".
>
> Currently, I can do that with a hack, like the following hack. But I don't 
> know if it really prevent method collision or not.
>
> ```
> module DF
>     using DataFrames
> end
>
> dv = DF.@data([NA, 3, 2, 5, 4])
> mean(DF.dropna(dv))
> ```

Reply via email to