Siz buni DataFrame.from_dict () funksiyasidan foydalanib amalga oshirishingiz mumkin. Mana misol: data = {'col_1': [3, 2, 1, 0], 'col_2': ['a', 'b', 'c', 'd']} pd.DataFrame.from_dict ((data) default bo'yicha, lug'at kalitlari ustunlarga aylanadi, agar kalitlar qator bo'lishi kerak bo'lsa, siz orient='index'dan foydalanishingiz kerak. Mana shunday qilishning misoli: data = {'row_1 [3, 2, 1, 0], 'row_2': ['a', 'b', 'c', 'd']} pd.DataFrame.from_dict ((data, orient='index')
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence