pandas.test
pandas 3.1.1 · Testing၊ Errors နှင့် Warnings · function
စက်မှာ ထည့်ထားတဲ့ pandas tests တွေကို pytest နဲ့ run ပေးပါတယ်။
ခေါ်သုံးပုံ
pd.test(extra_args=None, run_doctests=False)ခေါ်သုံးပုံကို စစ်ကြည့်ရန်
လက်ခံတဲ့ parameter တွေကို ဒီကုဒ်နဲ့ စစ်ကြည့်နိုင်ပါတယ်။ လုပ်ဆောင်ချက်ကို စမ်းဖို့ လိုတဲ့ ဖိုင်၊ package သို့မဟုတ် Python ပတ်ဝန်းကျင်ကို ကိုယ့်စက်မှာ ပြင်ဆင်ပါ။
ထည့်သွင်းနိုင်တဲ့ Arguments
| Parameter | ထည့်သွင်းပုံ | လက်ခံတဲ့ တန်ဖိုးနဲ့ သုံးပုံ |
|---|---|---|
extra_args |
ချန်ထားလို့ရတယ် အမည်နဲ့ဖြစ်ဖြစ် အစဉ်အတိုင်းဖြစ်ဖြစ် ထည့်နိုင်တယ် ပုံမှန်တန်ဖိုး None |
list[str] |
run_doctests |
ချန်ထားလို့ရတယ် အမည်နဲ့ဖြစ်ဖြစ် အစဉ်အတိုင်းဖြစ်ဖြစ် ထည့်နိုင်တယ် ပုံမှန်တန်ဖိုး False |
True / False (bool) |
ပြန်ပေးတဲ့ ရလဒ်
None ပြန်ပေးပါတယ်။
ကိုယ့်စက်မှာ စမ်းကြည့်ရန်
import pandas as pd
# Requires the pandas test suite and its test dependencies.
# This limits pytest to tests whose names match the supplied keyword.
pd.test(extra_args=["-k", "searchsorted"])