> For the complete documentation index, see [llms.txt](https://water-strategy.gitbook.io/waterstrategy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://water-strategy.gitbook.io/waterstrategy/ardw/sbq/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-csv-dataframe.md).

# CSV ڈیٹا فریم پڑھنا

پر جائیں **نیا ریزروائر ریلیز** نوڈ اور تبدیلی **زیادہ سے زیادہ بہاؤ** تا **-۰۸۱۲۳۴۵۶۷۸۹۰۰۰۰۰۰۸۰\_\_**، اس سے اس نوڈ کے ذریعے پانی بہنے کی اجازت ملے گی

<figure><img src="https://611574238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsa3ZYyd5GhV6rBrvaDb4%2Fuploads%2Fgit-blob-6420f89ca94eb65a3717127f5a057a71036890d3%2Fimage%20(2)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://611574238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsa3ZYyd5GhV6rBrvaDb4%2Fuploads%2Fgit-blob-d865c3314b236c878e80f37455d84879d7e5d3ec%2Fimage%20(5)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

ڈاؤن لوڈ کی گئی فائل، **تھیمز\_لی\_وادی\_demand.csv**، ایک ٹائم سیریز ڈیٹا سیٹ پر مشتمل ہے جو دو کلیدی کالموں کے ساتھ تشکیل دیا گیا ہے:

**ٹائم اسٹیپ:** یہ کالم ٹائم سیریز کے انڈیکس کے طور پر کام کرے گا۔ یہ ڈیٹا سیٹ میں وقت کی ترقی کی نمائندگی کرتا ہے، جس سے تاریخی تنظیم کی اجازت ملتی ہے۔

**لی ویلی کا مطالبہ:** اس کالم میں لی ویلی میں طلب کی اقدار کی نمائندگی کرنے والا ڈیٹا شامل ہے۔

<figure><img src="https://611574238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsa3ZYyd5GhV6rBrvaDb4%2Fuploads%2Fgit-blob-6ff2c6c50da13881ba949629c3c9e866042620c5%2Fimage%20(3)%20(1)%20(1).png?alt=media" alt="" width="443"><figcaption><p><strong>تھیمز_لی_ویلی_ڈیمانڈ</strong></p></figcaption></figure>

<figure><img src="https://611574238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsa3ZYyd5GhV6rBrvaDb4%2Fuploads%2Fgit-blob-b935e0b126a1fa027985428bcb768660f1e4f19d%2Fimage%20(4)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

آؤٹ پٹ نوڈ منتخب کریں **لی ویلی ڈیمانڈ** اور ترمیم کریں **زیادہ سے زیادہ بہاؤ**

<figure><img src="https://611574238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsa3ZYyd5GhV6rBrvaDb4%2Fuploads%2Fgit-blob-6a33f97b4cd180208ec2bc2382b3af1084576456%2Fimage%20(5)%20(1)%20(1).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

اختیارات میں منتخب کریں **پیور\_پیرامیٹر**

<figure><img src="https://611574238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsa3ZYyd5GhV6rBrvaDb4%2Fuploads%2Fgit-blob-6bcdcee83a916021c64825325e516b8652a1176b%2Fimage%20(6)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

مندرجہ ذیل ترتیب کو چسپاں کریں:

\`\`جسن { “type”: “ڈیٹا فریم پیرامیٹر”, “url”: “ٹیمز\_لی\_Valley\_demand.csv “, “column”: “لی ویلی کا مطالبہ”, “index\_col”: “ٹائم اسٹیپ”, “پارس\_ڈیٹس”: سچ }

```

اب اسے مندرجہ ذیل تصویر کے طور پر نظر آنا چاہئے:

<figure><img src="../../.gitbook/assets/image (7) (1).png" alt=""><figcaption></figcaption></figure>

### نتائج

سمولیشن کے نتائج دیکھنے کے لئے نوڈ لی ویلی ڈیمانڈ > آؤٹ پٹ> سمولیٹڈ\ _فلو پر کلک کریں

<figure><img src="../../.gitbook/assets/image (38).png" alt="" width="475"><figcaption></figcaption></figure>



<figure><img src="../../.gitbook/assets/image (36).png" alt=""><figcaption><p>سمولیٹڈ_فلو (لی ویلی ڈیمانڈ)</p></figcaption></figure>



اب چیک کریں **تقلید شدہ\_حجم** کے لئے **نیا ذخائر**

<figure><img src="../../.gitbook/assets/image (37).png" alt=""><figcaption><p>نقل شدہ حجم (نیا ذخائر)</p></figcaption></figure>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://water-strategy.gitbook.io/waterstrategy/ardw/sbq/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-csv-dataframe.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
