161010陽朔銀子岩(Sony A5000錄影) by 儲蓄保險王 · 2016-11-13 https://youtu.be/DlVeCus0xlg https://youtu.be/5JtbyLvZa90 https://youtu.be/m6fOnKsRoc0 相關文章使用Python讀取csv逗點分隔檔(每列內容為現金流),計算新光人壽美添109 IRR,免費下載IRR計算機Python: any(list) 判斷list中是否有True ; all(list) 判斷list中是否全為True ; any(pandas.Series)相當於any(pandas.Series.values) ; i in pandas.Series 卻相當於於i in pandas.Series.indexPython: 如何用 pandas.DataFrame.groupby 做樞紐分析? DataFrame.groupby (by=None, axis=0, level=None, as_index=True, sort=True, group_keys=True, observed=False, dropna=True) ; 如何將資料夾中的多個csv檔求平均?Python data = numpy.zeros( (4,6,2), dtype=float) ; print(data.shape); min0 = numpy.min(a,axis=0) ; min1 = numpy.min(a,axis=1) #2次沿軸1 ; numpy.average() ;array的軸向Python: pandas.isna() 處理丟失的數據,如何刪除DataFrame的空列? df3 = df2.reset_index (drop=True) ; df_drop = df3.drop ( nanIdx, axis = 0 ).reset_index( drop = True ) Python: Spyder5.4.2的IPython Console出現 Figures now render in the Plots pane by default. To make them also appear inline in the Console, uncheck "Mute Inline Plotting" under the Plots pane options menu. 如何在IPython Console中查詢python路徑與版本: !python -V ; !where pythonPython: matplotlib繪圖 如何用 bbox_to_anchor 控制legend (圖例)位置? ax.legend( bbox_to_anchor = (1, 1), borderaxespad=0)Python: 如何用tkinter 做出畫布(Canvas)與滾動條(Scrollbar)? canvas = tk.Canvas(root, width=400, height=300) ; scrollbar = tk.Scrollbar(root, command = canvas.yview) ; canvas.configure( yscrollcommand = scrollbar.set)Python: enumerate 遍歷 ; lst1 = list( enumerate (seasons, start=1) ) ; for idx, sea in enumerate (seasons, start=1): print(idx,sea)
0 Python函數參數使用*list或*tuple(長度同參數個數), **dict(取value), *dict(取key)解包的差別? *第一個(不定長度)參數:打包為tuple,**最後一個(不定長度)選擇性參數:打包為dict,解包時dict的key要與參數的名稱一樣,而且不可多,不可少,解包與打包運算子 2022-09-04
近期留言