Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
0 answers
69 views

I am working in Power BI and trying to calculate an "impact" measure defined as: impact = (mm_2026 - mm_base_fijo) * cantidad_2026 where: mm_2026 is the average cost for 2026 mm_base_fijo ...
  • reputation score 1
Score of 3
1 answer
93 views

I am trying to resample a pandas dataframe, and for some columns I would like to sum on. additionally, I want to get None/nan as result when there is no rows in a resampling period. For aggregation on ...
  • reputation score 97
Score of -1
1 answer
65 views

I am currently working on a data analysis task in DolphinDB where I need to perform column-wise aggregation on array vectors that store level - 10 bid/ask data. Specifically, I have data for bid ...
Score of 1
1 answer
177 views

I’m planning to use ClickHouse to calculate wallet balances based on transactions in my base table. However, there’s an issue: if something goes wrong and I end up inserting the same transactions into ...
Score of 0
1 answer
163 views

I'm working with Google BigQuery and I have a table with two numeric columns: grade1 and grade2. I want to calculate the total sum of both columns combined (row-wise) and then find the average of ...
Score of 2
1 answer
159 views

I have a huge dataframe with 3B rows. I'm running the PySpark code below with the Spark config. spark = SparkSession\ .builder\ .appName("App")\ .config("spark....
  • reputation score 15267
Score of 0
0 answers
87 views

I have a PySpark dataframe that contains 100M rows. I'm trying to do a series of aggregations on multiple columns, after a groupby. df_agg = df.groupby("colA","colB","colC&...
  • reputation score 15267
Score of 5
2 answers
184 views

I have a proprietary file format definition that contains a header format: class Header { public: uint32_t checksum; uint16_t impedance; uint16_t type_of_data; uint32_t ...
  • reputation score 58203
Score of 1
1 answer
186 views

In Vega or Vega lite, I want to create a stacked area chart where I can change the field used to color the visualization. Here is an example visualization. In this example, I would like to be able ...
  • reputation score 10506
Score of 2
1 answer
92 views

I would like to run groupby and aggregation over a dataframe where the aggregation joins strings with the same id. The df looks like this: In [1]: df = pd.DataFrame.from_dict({'id':[1,1,2,2,2,3], '...
  • reputation score 521
Score of 2
2 answers
184 views

I have modeled the relationship between LeaseAgreement and Person as an aggregation. The '1' on the Person side is meant to indicate that each LeaseAgreement has exactly one reference to a Person (in ...
  • reputation score 391
Score of 0
2 answers
159 views

I'm using StringAgg and order as follows: # Get order column & annotate with list of credits if request.POST.get('order[0][name]'): order = request.POST['order[0][name]'] ...
  • reputation score 899
Score of 0
0 answers
99 views

We have a query calculating number of terms on multiple fields. { "query": { "bool": { "filter": [ { "term": { "...
  • reputation score 14421
Score of 4
2 answers
340 views

I have a class Car, an enum Position, and a class Wheel. In Car, I have a map attribute: private Map<Position, Wheel> wheels; I want to represent this structure in a UML class diagram. My ...
  • reputation score 51
Score of 0
1 answer
155 views

Given data and mask tensors are there a pytorch-way to obtain masked aggregations of data (mean, max, min, etc.)? x = torch.tensor([ [1, 2, -1, -1], [10, 20, 30, -1] ]) mask = torch.tensor([ ...
  • reputation score 289

15 30 50 per page
1
2 3 4 5
...
232

AltStyle によって変換されたページ (->オリジナル) /