Questions tagged [datadesign]

15 questions
4
votes
4 answers

Make interface extend class

I have the following situation, but I feel like I'm doing something wrong... I used a interface for Field according to this post. The Field interface inherits from the Style class and Field1, 2 and 3 inherit from the Field interface. I want to…
Markinson
  • 2,077
  • 4
  • 28
  • 56
2
votes
0 answers

paginate a response with two data source

I have two sources of data , I fetch data from both the sources and combine them on basis of date and send as response. Now I am trying to send response as a paginated response but I don't have idea how to do this because there is no way to know how…
2
votes
1 answer

Efficiently store daily dumps in Hadoop HDFS

I believe a common usage pattern for Hadoop is to build a "data lake" by loading regular (e.g. daily) snapshots of data from operational systems. For many systems, the rate of change from day to day is typically less than 5% of rows (and even when a…
Todd Owen
  • 15,650
  • 7
  • 54
  • 52
1
vote
1 answer

how count number of data points, to calculate rate (influxdb)?

So we have a system that takes a lot of queries per minute. We basically want to know the rate at which our system is processing queries at any given time. In order to achieve it, we send one point to influx per query. No relevant field,…
caeus
  • 3,084
  • 1
  • 22
  • 36
1
vote
1 answer

I want to design a grid with n-number of dimensions ,solution for two dimension is available but i want n-dimensions in Numpy?

I need to generate a grid for an array with a general/variable number of dimensions. In the 2D case, I know I can use mgrid: Some 2D data N = 1000 x = np.random.uniform(0., 1., N) y = np.random.uniform(10., 100., N) xmin, xmax, ymin, ymax = x.min(),…
Sebastian
  • 11
  • 1
1
vote
2 answers

How to count no of occurrence for each value in a given column of dataframe for a certain class interval?

this is my first question at stackoverflow. I have two dataframes of different sizes df1(266808 rows) and df2 (201 rows). df1 and df2 I want to append the count of each value/number in df1['WS_140m'] to df2['count'] if number falls in a class…
1
vote
1 answer

Vue.js circular computed properties

I have an applicated that requires the update of two fields that depend on each other for their values. For example: