變更

跳到: 導覽搜尋

使用Pandas添加List

已增加 165 位元組, 2022年10月4日 (二) 20:04
無編輯摘要
df.to_excel(r'C:\GITPythonLesson\num.xlsx',sheet_name='Sheet1',engine='openpyxl')
</syntaxhighlight>
<syntaxhighlight lang="python" line>
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
‎</syntaxhighlight>
输出结果为下图:
[[File:PandasAppendList1.png]]
1,138
次編輯

導覽選單