版本 0.20.2 (2017 年 6 月 4 日)#
這是 0.20.x 系列中的一個次要錯誤修復版本,包含一些小的迴歸修復、錯誤修復和效能改進。我們建議所有使用者都升級到此版本。
增強功能#
效能改進#
Bug 修復#
在某些 Windows 環境下,當檢測終端大小時,關於“tput: terminal attributes: No such device or address”的警告被靜默。此修復僅適用於 Python 3(GH 16496)
在使用 io 函式時使用
pathlib.Path或py.path.local物件時存在錯誤(GH 16291)在兩個相等的 MultiIndex 上使用
Index.symmetric_difference()時存在錯誤,導致TypeError(GH 13490)在
DataFrame.update()中使用overwrite=False和NaN 值時存在錯誤(GH 15593)將無效的引擎傳遞給
read_csv()現在會引發一個資訊性的ValueError而不是UnboundLocalError。(GH 16511)修復了與 IPython 6.0 的製表符補全相容性問題,該問題在
Categoricals上顯示了棄用警告(GH 16409)
轉換#
在
to_numeric()中,空資料輸入導致直譯器發生段錯誤(GH 16302)當使用比較運算子將
DataFrame廣播到Series時,靜默了 numpy 警告(GH 16378,GH 16306)
索引#
IO#
在
read_csv()中,當在空格分隔的文字檔案中傳遞comment引數時存在錯誤(GH 16472)在
read_csv()中,當usecols中存在不存在的列且其長度正確時,沒有引發異常(GH 14671)導致不必要地匯入剪貼簿例程的錯誤,可能會在啟動時導致匯入錯誤(GH 16288)
當 HTML 渲染空
DataFrame時引發IndexError的錯誤(GH 15953)在
read_csv()中,當 Python 2.x 中的 C 引擎處理 tarfile 物件輸入時引發錯誤(GH 16530)DataFrame.to_html()忽略index_names引數的錯誤(GH 16493)pd.read_hdf()為索引名稱返回 numpy 字串的錯誤(GH 13492)在
HDFStore.select_as_multiple()中,start/stop 引數未被尊重的錯誤(GH 16209)
繪圖#
GroupBy/resample/rolling
Sparse#
從
scipy.sparse.dok_matrix構建SparseDataFrame時存在錯誤(GH 16179)
Reshaping#
數值#
在
.interpolate()中,當傳遞limit=None(預設值)時,limit_direction未被尊重的錯誤(GH 16282)
分類#
修復了在兩個無序的分類資料比較時,考慮類別順序的比較操作(GH 16014)
其他#
在
DataFrame.drop()中,使用空列表和非唯一索引時存在錯誤(GH 16270)
貢獻者#
共有 34 人為本次釋出貢獻了補丁。名字旁有“+”的人是首次貢獻補丁。
Aaron Barber +
Andrew 亮 +
Becky Sweger +
Christian Prinoth +
Christian Stade-Schuldt +
DSM
Erik Fredriksen +
Hugues Valois +
Jeff Reback
Jeff Tratner
JimStearns206 +
John W. O’Brien
Joris Van den Bossche
JosephWagner +
Keith Webber +
Mehmet Ali “Mali” Akmanalp +
Pankaj Pandey
Patrick Luo +
Patrick O’Melveny +
Pietro Battiston
RobinFiveWords +
Ryan Hendrickson +
SimonBaron +
Tom Augspurger
WBare +
bpraggastis +
chernrick +
chris-b1
economy +
gfyoung
jaredsnyder +
keitakurita +
linebp
lloydkirk +