I have two mongodb collections, processes and users and below I have example docs from within them. I am trying to query a process document but replac ...
I have two mongodb collections, processes and users and below I have example docs from within them. I am trying to query a process document but replac ...
An example: _4 is a collection of count, date and tag that I want to group and sum The output I'm hoping for is something like this which groups by ...
I want to use $lookup in the aggregate method. The collection I want to do this is like this. It is an array. It has nested objects in the array. Ple ...
i've got a table that's kinda like this id account 111111 333-333-2 111111 333 ...
Sample Data: Column A Column B Column C Bill 1 2022-09-01 John 0 ...
I'm Solving Titanic Kaggle Code and Doing Data analysis with pandas. The Data is in here (https://www.kaggle.com/competitions/titanic/data) I have tw ...
I have a large data.table object where one variable is a list of character vectors. I would like to aggregated by a unique ID and in the process combi ...
I've already looked into possible duplicates but I could not find one. I have a MongoDB collection structure like this: I need to group the documen ...
I have a datafile with one VALUE column and multiple dummy variables representing TYPES. I have copied a short example below. I need the average of ea ...
My dataset features several blocks, each containing several plots. In each plot, three different lifeforms were marked as present/absent (i.e. 1/0): ...
I have the following code that matches on one field in aggregate query and works fine. Notice the second field in the match is commented out here, ...
I have Pandas DataFrame like below (I can add that my DataFrame is definitely bigger, so I need to do below aggregation only for selected columns): ...
I have a table where I try to aggreate results (Sum) based on all possible combinations of Product_Ids per Order (Order_Id). Anybody that can guide me ...
I have table in SAS Enterprise Guide like below: And I need to aggregate abve table to know how many each value in columns occured, so as to have s ...
I have a facet with the following result: From this result I want to get a list of objects grouped on the type field. The rules are that directConf ...
In MongoDB I have the following document: I want to make a project that says if the config exist in both directConfigs and indirectConfigs then add ...
It's a code that reproduces the problem I experienced. models.py tests.py I didn't add users to the group. But the value obtained using annotat ...
. Answers to this question are eligible for a +100 reputation bounty. Bounty g ...
I have an array of objects embedded in a document and there are multiple such documents in an collection. How to do I query those embedded array of ob ...
I have a hierarchy of three PowerBI tables Courses: Course ID Course credits C1 2 ...