Questions tagged [dummy-data]

Placeholder used for operational or testing purposes.

Dummy-data is useless information reserving a operational information is normally present.

Dummy-data may also be used in testing to properly initialize values which are not intended to be evaluated by the test.

http://en.wikipedia.org/wiki/Dummy_data

164 questions
0
votes
1 answer

How do you make a dummy dataset in R?

How would I make a dataset where each "site", "season", "year", and "species name" is completely crossed (every site was visited during each year/season, and each species could have been caught anytime and place -> i.e. 5 sites x 2 seasons x 2 years…
Nate
  • 411
  • 2
  • 10
0
votes
0 answers

Python: Dummy or Stub?

The question is about the classic topic of different test doubles. I only have some naming problems about this code snippet: @pytest.fixture(autouse=True) def setup(self): class DummyModel: id = "model_id" changes = {} …
MattSom
  • 2,097
  • 5
  • 31
  • 53
0
votes
1 answer

Can Someone help me to find a dataset on the below requirement?

I am currently trying to find a data set which is repeating itself day by day. as an example, lets say there is a 50,000 of loans in a particular bank. The data should be repeated it self day by day. That means, in January 1st, the record count need…
Snyder Fox
  • 174
  • 1
  • 1
  • 13
0
votes
1 answer

get one row of dummy data with eloquent

Take this example $result = Players::select("first_name", "last_name")->where("some_field", "some_value"); That returns a Illuminate\Database\Eloquent\Builder Now I would like to "simulate" that same thing but with dummy data, so I did this $result…
Matías Cánepa
  • 5,770
  • 4
  • 57
  • 97
0
votes
0 answers

Python Pandas Weighted dummy variables?

is there a way to obtain a weighted dummy variable using pandas? I have a two dataframes, one with the categorical values and another with a continuous variable... df1 = pd.DataFrame(data=[[1., 3., 2.], [2., 1.], [0.], [0., 2., 2.], [0., 2.]]) df2 =…
0
votes
1 answer

Split 52 weeks of data into 12 months

I have a data.frame of exercise sessions completed for multiple participants (G1, G2 etc.) There a different types of exercise session (Sup, Home, etc.) with 2 sessions of each type per week. I have a "week" variable, but I need to give summary data…
Mark Davies
  • 787
  • 5
  • 18
0
votes
1 answer

Why am I getting multiple OpenCL 'binaries' when I built my program for one device?

I'm building an OpenCL program - using NVIDIA CUDA 11.2's OpenCL library (and its C++ bindings). After invoking cl::Program::build() successfully, for a single device (passing a vector with a single device index), I obtain the generated "binaries"…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

Adding a dummy factor to standardize x-axis in multiple plots

I have two models showing the effect of different Treatments (A, B, C) on animal diversity in a large plot (Model 1), and in a small plot (Model 2). In Model 1, I included all three Treatments in the model, but in Model 2, Treatment C had to be…
AMK
  • 1
  • 1
0
votes
2 answers

How to create an automated range for dummy in R?

I have the followinf DF and I want to create a dummy with automated scale to represent categorically whether a city has little, medium, or a lot of companies. cities sum of companies CTY A 199 CITY B 358 CITY C 250 CITY D 1265 CITY…
user14738548
  • 167
  • 1
  • 1
  • 7
0
votes
1 answer

Wordpress: dummy data from theme Appointment doesn't work

I have downloaded the dummy data for the theme appointment. While uploading the xml file it was displayed that most of the elements of the dummy data could not be added. can anyone help me? it is this xml dummy data…
blackplan
  • 246
  • 2
  • 20
0
votes
1 answer

Creating categorical variable of dummies in Python

I am trying to create a categorical variable out of three columns containing only 0 and 1. They would perfectly match being together a categorical variable - however I cannot find a code merging them to be one: being a categorical variable labeled…
Marie K
  • 1
  • 1
  • 1
0
votes
3 answers

Assigning different randomly generated values to each rows (python)

I am trying to make a dummy data where I would like to assign random sentences under the question column. I am using from essential_generators import DocumentGenerator to generate the random sentences. for i, row in dummy.iterrows(): …
changhons
  • 75
  • 1
  • 5
0
votes
1 answer

R Convert categorical data to dummy set by other variable

I have this data set, I put a screenshot of real data instead of a code or something. sorry for messing up, I am a newbie here in R enter image description here Then, I want to change the data into dummy set for "13 Source" categorical data, but it…
0
votes
4 answers

Generate fake data that don't change

I'm creating a temporary GraphQL backend, that should serve mocked data. E.g. I need ~500 objects of the model Person (with firstName, lastName, email, country, etc), where the properties shouldn't change on each request. Is there any library where…
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232
0
votes
2 answers

Using a Do-Loop, to read a column of data (numerical & string) and filter the numbers as output into another file

I have an output file, single column, where each 7th line is a string and the others numerical (something like below) 998.69733 377.29340 142.22397 53.198547 19.743515 7.5493960 timestep: 1 998.69733 377.29340 …
malee
  • 1
  • 1