Posts by Marcio Junior • 11 points
4 posts
-
0
votes1
answer69
viewsA: Return value based on date criteria within start and end date range and ID in another data frame? (pandas and python)
I managed to solve! The merge also worked, but was inefficient in performance and processing. I installed and imported the pandassql,: sqlcode = ''' select dfTrafegoPracas.Data,…
-
0
votes1
answer69
viewsQ: Return value based on date criteria within start and end date range and ID in another data frame? (pandas and python)
I have two dataframes, where the df1 contains the column Data and Praca_ID, where I need to look in the df2, who owns DataInicial DataFinal Praca_ID and Tarifa (column to be returned.) The example…
-
0
votes1
answer67
viewsA: Difficulties to find() in the schema/model Mongoose with req.params.
After searching a little about, I managed to get, but he brings the "get all" and does not filter "Where" with the req.params.id_process function findByIdProcesso(req, res){ var query =…
-
1
votes1
answer67
viewsQ: Difficulties to find() in the schema/model Mongoose with req.params.
As the title says, I’m having trouble making a find() customized in Node model/schema, which links with Mongoose. My file correspondencia.js (model) below: var mongoose = require('mongoose'); var…