更改

跳转至: 导航搜索

使用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
个编辑

导航菜单