Sizning ikkinchi `custom_format` funksiyangiz ishlaydi. Ammo birinchi taklif qilingan echim uchun men uni siz aytganidek o'rnatdim va u ishlamadi. Men buni shunday o'rnatdim: ```python import pandas as pd format_logic = '${:.2f}' if x < 10 else '${:.0f}' pd.options.display.float_format = lambda x: format_logic.format(x) df = pd.DataFrame([123.4567, 0.4678, 1.6789, 456.7890], index=['foo',',','baz','quux'], columns=['cost' print]) df) ``` Yomon xabar: `` back Trace (eng so'nggi fayl): "./test call", <m
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence