# Preparing Data

當你收集了食譜的材料，在烹飪之前，你需要先處理一下這些材料。 在準備的步驟中，你可能會洗、切、或任何方式，使你的食材準備好。 因為這個步驟不太有趣，大多數的人並不喜歡這個步驟，但如果你曾經吃過一盤骯髒的青菜，你就知道如果你草率、或甚至整個跳過處理步驟，會受到多大的影響。

就像在烹飪一樣，許多人在處理資料的時候，也不喜歡準備步驟，但這是必須的。你不可能只撈到一些資料，丟進視覺化的城市，就預期它會產生正確的結果。如果你想要盡你所能的做出最好的圖像，你需要確認你的資料已經準備好。有些資料需要切分成不同的群組，有些可能需要轉換，還有一些需要清理，就像蔬菜一樣。

在這個段落，我們會說明一些處理資料的時候，常見的準備、清理工作，也會介紹一些可以減少花費處理時間的方法。不管你如何分割數據，如果你正確的處理你的數據，當你在處理可視化階段的時候會順利許多。


---

# Agent Instructions: 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 current page URL with the `ask` query parameter:

```
GET https://g0v.gitbook.io/data-design/04-section-cover.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
