# Data read

**URL:** https://discourse.pumas.ai/c/data-read/24.md

[Latest](https://discourse.pumas.ai/latest.md) · [Categories](https://discourse.pumas.ai/categories.md)

---

## [About the Data read category](https://discourse.pumas.ai/t/about-the-data-read-category/390)

<div class="topic-metadata">

**Author:** [@vijay](https://discourse.pumas.ai/u/vijay)\
**Replies:** 0

</div>

---

## [Request to access PumasAI Case Study II data file](https://discourse.pumas.ai/t/request-to-access-pumasai-case-study-ii-data-file/1418)

<div class="topic-metadata">

**Author:** [@nemo](https://discourse.pumas.ai/u/nemo)\
**Replies:** 5\
**Last updated:** [June 13, 2026, 9:55pm UTC](https://discourse.pumas.ai/t/request-to-access-pumasai-case-study-ii-data-file/1418 "2026-06-13T21:55:31Z")

</div>

Hi PumaAI, I’m trying to understand how to set up my data file for multiple doses, and I followed Case Study II - Building a PopPK model with multiple doses Case Study II - Building a PopPK model with multiple doses . H…

---

## [Pre-dose Observation Handling and Clarification on SS](https://discourse.pumas.ai/t/pre-dose-observation-handling-and-clarification-on-ss/1394)

<div class="topic-metadata">

**Author:** [@Dhiravara](https://discourse.pumas.ai/u/Dhiravara)\
**Replies:** 6\
**Last updated:** [May 14, 2026, 9:56am UTC](https://discourse.pumas.ai/t/pre-dose-observation-handling-and-clarification-on-ss/1394 "2026-05-14T09:56:19Z")

</div>

Dear Pumas Support Team, I am new to PopPK modeling and Pumas, and would appreciate some clarification regarding the proper data structure for pre-dose observations and SS dosing My project involves two cohorts receivi…

---

## [Data reading, read pumas](https://discourse.pumas.ai/t/data-reading-read-pumas/1120)

<div class="topic-metadata">

**Author:** [@Bhargav](https://discourse.pumas.ai/u/Bhargav)\
**Replies:** 2\
**Last updated:** [February 3, 2025, 5:08am UTC](https://discourse.pumas.ai/t/data-reading-read-pumas/1120 "2025-02-03T05:08:03Z")

</div>

Hello everyone, I am new to Pumas and would really appreciate your help in reviewing my dataset (attached screenshot). The drug was administered at time 0, and some concentrations were measured after dosing on Day 1.…

---

## [Handling dv at time 0](https://discourse.pumas.ai/t/handling-dv-at-time-0/1000)

<div class="topic-metadata">

**Author:** [@JinQue](https://discourse.pumas.ai/u/JinQue)\
**Replies:** 6\
**Last updated:** [May 14, 2024, 4:42pm UTC](https://discourse.pumas.ai/t/handling-dv-at-time-0/1000 "2024-05-14T16:42:47Z")

</div>

When I convert with read\_pumas and check the dataframe, the dv row comes always above the evid. I tried to convert back to df and sort the time and rerun the read\_pumas but still having the same output. A couple of work…

---

## [EVID error when converting dataframe with read\_pumas](https://discourse.pumas.ai/t/evid-error-when-converting-dataframe-with-read-pumas/800)

<div class="topic-metadata">

**Author:** [@pascalschulthess](https://discourse.pumas.ai/u/pascalschulthess)\
**Replies:** 9\
**Last updated:** [December 2, 2022, 7:41pm UTC](https://discourse.pumas.ai/t/evid-error-when-converting-dataframe-with-read-pumas/800 "2022-12-02T19:41:58Z")

</div>

I read a csv as a dataframe with CSV.read which looks like: Row │ id time observations amt dosegrp evid │ Int64 Float64 Float64? Float64? Float64 Int64 ─────┼───────────────────────…

---

## [Error with DataFrame function when using output from predict function](https://discourse.pumas.ai/t/error-with-dataframe-function-when-using-output-from-predict-function/765)

<div class="topic-metadata">

**Author:** [@ahmed.salem](https://discourse.pumas.ai/u/ahmed.salem)\
**Replies:** 1\
**Last updated:** [September 21, 2022, 8:23pm UTC](https://discourse.pumas.ai/t/error-with-dataframe-function-when-using-output-from-predict-function/765 "2022-09-21T20:23:55Z")

</div>

Hi, I am getting the following error when trying to convert the output from predict function to DataFrame() pred = DataFrame(predict(modfit, obstimes = 1:1:2000)) ERROR: MethodError: Cannot \`convert\` an object of type …

---

## [How to resolve unique\_times\_sorted error](https://discourse.pumas.ai/t/how-to-resolve-unique-times-sorted-error/737)

<div class="topic-metadata">

**Author:** [@Rahulub3r](https://discourse.pumas.ai/u/Rahulub3r)\
**Replies:** 5\
**Last updated:** [August 3, 2022, 7:31pm UTC](https://discourse.pumas.ai/t/how-to-resolve-unique-times-sorted-error/737 "2022-08-03T19:31:01Z")

</div>

I am trying to fit a model, however it is throwing the following error. Unfortunately I cannot share the model code or the dataset, so I am presenting the problem to the best of my ability. Errorjulia\> scr\_fit1 = fit…

---

## [Error message when using DataFrame()](https://discourse.pumas.ai/t/error-message-when-using-dataframe/470)

<div class="topic-metadata">

**Author:** [@ahmed.salem](https://discourse.pumas.ai/u/ahmed.salem)\
**Replies:** 9\
**Last updated:** [April 5, 2022, 5:43pm UTC](https://discourse.pumas.ai/t/error-message-when-using-dataframe/470 "2022-04-05T17:43:16Z")

</div>

Hi, I am trying to convert the simulation object output to a data frame using DataFrame() function but I am receiving the following error ERROR: DimensionMismatch(“array could not be broadcast to match destination”) …

---

## [Error : (id,time) pair should be unique](https://discourse.pumas.ai/t/error-id-time-pair-should-be-unique/441)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.pumas.ai/u/sai_matcha)\
**Replies:** 3\
**Last updated:** [November 29, 2020, 6:51am UTC](https://discourse.pumas.ai/t/error-id-time-pair-should-be-unique/441 "2020-11-29T06:51:38Z")

</div>

Hi Can some one please help me to understand this error pumdf = read\_pumas(phen1, observations = \[:DV\], id = :ID, time = :TIME, amt = :AMT, rate = :RATE, cmt = :CMT) ┌ Warning: Your dataset has dose event but it hasn'…

---

## [Does Pumas read Dates?](https://discourse.pumas.ai/t/does-pumas-read-dates/438)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.pumas.ai/u/sai_matcha)\
**Replies:** 1\
**Last updated:** [November 25, 2020, 3:58pm UTC](https://discourse.pumas.ai/t/does-pumas-read-dates/438 "2020-11-25T15:58:07Z")

</div>

I just wanted to know whether Pumas will read Dates and time automatically in case of Dosing and observation events. or do i need to give time =0 for starting event and give other timings accordingly for each event reco…

---

## [Converting dataframe to pumas data frame](https://discourse.pumas.ai/t/converting-dataframe-to-pumas-data-frame/389)

<div class="topic-metadata">

**Author:** [@pkpddude](https://discourse.pumas.ai/u/pkpddude)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 12:04pm UTC](https://discourse.pumas.ai/t/converting-dataframe-to-pumas-data-frame/389 "2020-08-14T12:04:22Z")

</div>

my data looks like |id|Time|CONC|PCTESTCD|CMT|AMT|EVID|DVID|bmi|age|wgtno| |1003|0|10.75157338|CHOLINE|2|0|0|1|29.74639462|53|102.8| |1003|0|2.396496003|TMAO|8|0|0|2|29.74639462|53|102.8| |1003|24|13.6314591|CHOLINE|2|0…

---

## [EVID error while using read\_pumas](https://discourse.pumas.ai/t/evid-error-while-using-read-pumas/92)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.pumas.ai/u/sai_matcha)\
**Replies:** 2\
**Last updated:** [November 27, 2019, 8:10am UTC](https://discourse.pumas.ai/t/evid-error-while-using-read-pumas/92 "2019-11-27T08:10:51Z")

</div>

i am got an error that dose related items must be non zero but they are already nonzero in dataset mt = read\_pumas(dat, id =:id, time = :TIME, dvs = \[:dv\],) ERROR: AssertionError: Some dose-related data items must be no…
