Comments (9)
Sure - I will have a look at it!
from dataframesmeta.jl.
What's the warning text and backtrace?
from dataframesmeta.jl.
Thanks for the quick response.
julia> @linq tbl |> orderby(:a)
WARNING: calling vector of vectors constructor without passing column names is deprecated
Stacktrace:
[1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] Type at /home/jock/.julia/v0.6/DataFrames/src/deprecated.jl:4 [inlined]
[3] #35 at /home/jock/.julia/v0.6/DataFramesMeta/src/DataFramesMeta.jl:316 [inlined]
[4] ##739 at /home/jock/.julia/v0.6/DataFramesMeta/src/DataFramesMeta.jl:70 [inlined]
[5] (::##6#7{DataFrames.DataFrame})(::DataFrames.DataFrame) at /home/jock/.julia/v0.6/DataFramesMeta/src/DataFramesMeta.jl:72
[6] orderby(::DataFrames.DataFrame, ::##6#7{DataFrames.DataFrame}) at /home/jock/.julia/v0.6/DataFramesMeta/src/DataFramesMeta.jl:313
[7] eval(::Module, ::Any) at ./boot.jl:235
[8] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
[9] macro expansion at ./REPL.jl:97 [inlined]
[10] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading no file, in expression starting on line 323
from dataframesmeta.jl.
Looks like the warning is coming from DataFrames, and something in DataFramesMeta is calling a constructor that was deprecated in JuliaData/DataFrames.jl#1325.
from dataframesmeta.jl.
FYI - I'm using DataFrames 0.11.4.
Anything I need to do?
Thanks again.
from dataframesmeta.jl.
There's nothing you need to be doing differently in your code to avoid the warning; that's just something that needs to be fixed in this package. In the meantime if it's really bugging you, you can pin DataFrames to a version prior to that deprecation (e.g. 0.11.3, if I'm not mistaken) using Pkg.pin("DataFrames", v"0.11.3")
, and once the issue is fixed here and a new version of this package is available, you can do Pkg.free("DataFrames")
to get back to the latest version.
@bkamins, since you authored the change in DataFrames and are thus the most familiar with what would need to be done differently in this package to avoid the warning, would you be willing to submit a PR here to address the issue?
from dataframesmeta.jl.
OK great, thanks!
from dataframesmeta.jl.
fix proposed in #83
from dataframesmeta.jl.
Fantastic. Thanks Bogumił!
from dataframesmeta.jl.
Related Issues (20)
- Add a `@bycol` macro-flag HOT 5
- Add metadata for working with DataFrames HOT 1
- Access subdf in @by and @combine HOT 7
- Request - grouped by columns available as single values rather than vectors HOT 5
- Request: `@order` to mimic `DataFrames.order` in `@orderby` HOT 2
- Very slow `@astable` macro outside a function HOT 4
- `@with` macro clashes with `Base.@with` in Julia 1.11+ HOT 8
- `ByRow` not defined when importing DataFramesMeta HOT 1
- docs question HOT 7
- Request @rsubset_rtransform HOT 7
- Special-case `==` as with other one-argument functions HOT 2
- Add an alternative syntax escaping than `$` HOT 1
- MethodError occurred when broadcasting a string inside @astable HOT 3
- Speculative future of `@groupby` macro
- Allow reference to previously defined columns in @transform HOT 7
- `groupby` derived columns
- Add convenience function to look up a single value in a `DataFrame` HOT 2
- Error in the @by example in the documentation HOT 1
- Request - $AsTable with prefix HOT 2
- kwargs not passed to subset in `@subset` with multiple conditions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataframesmeta.jl.