20140817_20_HX400V_宜蘭國際童玩節_俄羅斯 by 儲蓄保險王 · 2014-09-02 20140817_20_HX400V_宜蘭國際童玩節_俄羅斯 http://youtu.be/N9WkIQi8pXk 相關文章Python: 2D array/list的切片,建立dict的方法:dic = dict(2D list) ; set1 = set(dic) #2D list可以轉為dict, dict的key可以轉為setPython 如何做excel的樞紐分析? pandas.DataFrame.groupby() ; .agg( {column name: function name} ) ; 如何讀取多層index的xlsx檔案? df = pandas.read_excel (fpath, index_col =[0,1]) ; 如何顯示所有欄? pd.set_option ( "display.max_columns", None)Python 如何用pandas.Series.nsmallest() 找到n個與target差距最小的index?再從中找到距離idxmax最近的index?避免誤抓sidelobes的index? targetIdx = (serMean-target_value).abs().nsmallest(n).index.tolist() ;Series切片: .loc[標籤名1:標籤名2] (會含標籤名2) ; .iloc[位置1:位置2] (不含位置2)Python TQC考題310 迴圈公式計算Python TQC考題102浮點數格式輸出, print("|{:7.2f} {:7.2f}|".format(a,b))python Graphviz中控制子圖(子圖可以僅含一個node)垂直位置教學: rank='sink' ; rank='source' ; rank='same' ; 為子圖的屬性,在node中設定無效 ; 不可與g.attr(newrank='true') #子圖同高度 一起使用; with g.subgraph() as s: s.attr(rank='sink') # 設置子圖為sink ; s.node('Logo', 'Company Logo')Python常用的模組內建常數; __name__ ; __file__ ; __doc__ ; __all__ ;__dict__; vars()->Dict[str,str] ; dir()->List[str]Python如何寫入docx文件? from docx import Document ; doc = Document() ; table = doc.add_table(rows=5, cols=3) ; table.cell(r,c).text = str(tabs[r][c]) ; doc.add_heading ; p = doc.add_paragraph ; p.add_run ; doc.add_picture ; 使用wordPad開啟會少最後一個row,可以用免費的LibreOfficeTaxas Instruments TI AWR1443BOOST EVM: mmWave Demo Visualizer 按"SEND CONFIG TO MMWAVE DEVICE" 若沒反應怎麼處理?
0 Python: matplotlib如何設定刻度標籤的字體大小? ax.tick_params (axis=’both’, labelsize=None) ; 那些參數可以設為None? 2023-04-10
0 Python: pandas.DataFrame如何移除所有空白列?if df_raw.iloc[r,0] is np.nan: nanLst.append(r) ; df_drop0 = df_raw.drop(nanLst,axis=0) ; pandas.isna() ;df_drop0 = df_raw.drop(nanLst,axis=0).reset_index(drop=True) 2022-12-06
0 Python中的時間處理簡介; timestamp: float = time.time() #獲取時間戳; localtime = time.localtime( timestamp ) #獲取localtime; fmt= ‘%Y-%m-%d %H:%M:%S’ ; strftime = time.strftime(fmt, localtime) 等效於 datetime.datetime.now().strftime(fmt) #獲取strftime #str format time ; 2024-02-10
近期留言