Python TQC考題804 大寫轉換 .title() .upper() .lower() by 儲蓄保險王 · 2022-05-02 #Python TQC考題804 大寫轉換 s=input() print(s.upper()) print(s.title()) #三種都做 相關文章Python: list.index(元素) 搜尋元素位於list中的那一個index全台美食、親子景點懶人包,日本自由行懶人包、必買必吃規劃,連假旅遊一次搞定!Python: Matplotlib 中如何將圖例放置在繪圖之外? plt.legend(bbox_to_anchor=(1.05, 1.0), loc='upper left') ; plt.tight_layout() ; 如何防止儲存的檔案圖例被裁切? plt.savefig('example.png', dpi=300, format='png', bbox_extra_artists=(lg,), bbox_inches='tight')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三維陣列 import numpy as np ; A = np.ones((2,3,4),dtype=int) ; B = np.zeros((2,3,4),dtype=int)Python: 如何用pickle模組將 Python 物件序列化和反序列化? pickle.dumps(data) ; pickle.loads(binary_data)Python: pandas.DataFrame如何移除所有空白列?pandas.isna( df_raw[0] ).tolist() ; df_drop0 = df_raw.drop(nanIdx,axis=0).reset_index(drop=True)Python: 三個不同長度 pandas.DataFrame 的資料如何繪製在同一張散佈圖?台中搬家公司推薦|精緻搬家/搬家打包服務/跨縣市搬家|佳旺搬家
0 Python的財務函數 numpy_financial.rate() ,19歲奧運跆拳銅牌美少女羅嘉翎的國光獎金,應該一次領500萬?還是終身月領2.4萬?Excel財務函數PMT, RATE, NPER, PV, FV 2022-10-11
0 Python: 如何串接Meta API ?如何將dict存成JSON檔? json.dump(dic_msg ,f , ensure_ascii=False ,indent=4) 2024-01-14
0 Python: sorted() 排序,參數key = lambda 匿名函式 ;物件導向 def __repr__(self): #原形畢露; def __str__(self): #給人閱讀 2022-12-21
近期留言