0

Can you help me with the interpretation of this sentence ?

  1. Does this mean you should group by date rows with different supplement usage?

  2. Or should I have 2 rows, one for magnesium and one for placebo?

  3. If I have 2 experiments/2 different supplements taken the same day, then this means one entry?

Screenshots of output I have:

enter image description here

EDIT: I also have this detail in the exercice. For me it means that we can have multiple entries in the same 'cell'/field supplement_name The name of the supplement taken on that day. Multiple entries are permitted.

Days without supplement intake should be encoded as 'No intake'.

Edit 2: schema

enter image description here

4
  • can you please explain what is the input and the expected output, I am not sure what the ask is ? You can read this article about how to format a question =>stackoverflow.com/help/how-to-ask Commented Nov 29, 2024 at 17:13
  • The input is 4 tables that I have to merge using pandas. I will add a schema Commented Nov 30, 2024 at 10:17
  • 2
    add sample input data, add sample output data, dont use image , you should add sample dataset stackoverflow.com/help/minimal-reproducible-example Commented Nov 30, 2024 at 11:22
  • I think sensibly interpreting the requirement requires some knowledge of how they data will be used. Presumably they're not asking you to group unrelated users together, and combine daily entries that happened on the same day. But if it's an exercise for the sake of an exercise, then maybe they're asking for something that doesn't make sense. Commented Dec 3, 2024 at 21:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.