作者查詢 / LeFilsDuVent
作者 LeFilsDuVent 在 PTT [ Python ] 看板的留言(推文), 共12則
限定看板:Python
看板排序:
全部Stock341FuMouDiscuss286PublicIssue176Militarylife169Coffee127basketballTW67Gossiping41HatePolitics27Tennis23Statistics22Volleyball22Math21KingdomHuang18cookclub14joke13NBA13Python12Physics11car10Bank_Service6Plant6Baseball5HotBloodYuan5France4Salary4e-coupon3HomeTeach3LaTeX3Lifeismoney3movie3PublicServan3Teacher3Wanhua3Actuary2AdvEduUK2e-shopping2Hsinchu2I-Lan2KS98-3022MMA2MOD2sp_teacher2studyteacher2tax2Tea2Tech_Job2AfterPhD1Agriculture1Beauty1BuyTogether1CultureShock1DataScience1Germany1historia1HOT_Game1IVERSON1Kaohsiung1MdnCNhistory1medstudent1Miaoli1NCYU_Fst_981PUBLICISS_PT1soho1specialman1StupidClown1TAXI1THULAW1TW-history1Warfare1WorkinChina1WorldCup1Zhongshan1<< 收起看板(72)
首頁
上一頁
1
下一頁
尾頁
3F推: .的意思是the directory of a module for relative07/02 12:49
4F→: import 而namedtuple不是個package07/02 12:50
5F→: 舉例 from pandas import Series 是ok的07/02 12:51
6F→: import pandas.Series as ser 會出錯07/02 12:51
3F推: 我猜是使用chatgpt api12/03 11:06
5F推: 推樓上 need to learn courtesy of asking question10/13 14:01
7F推: 至於為什麼會得到那個結果,test2[:]會是test2的一02/24 15:30
8F→: shallow copy,所以你的loop的確會跑遍x=1,2,...,902/24 15:31
9F→: 但如果用for x in test2:那會跑的是x=1,3,5,7,9原因02/24 15:32
10F→: 就如同樓上解釋的,你在loop through test2同時又修02/24 15:32
11F→: 改test202/24 15:32
13F推: stack exchange上基礎問題也不少,正向討論不好嗎09/24 14:11
首頁
上一頁
1
下一頁
尾頁