pandas: powerful Python data analysis toolkit - 0.17.0
DateOffset(years=1) Out[68]: Timestamp('2016-10-09 20:59:45.919984') Changes to Index Comparisons Operator equal on Index should behavior similarly to Series (GH9947, GH10637) Starting in v0.17.0, comparing side is a DataFrame (GH11014) • Bug that returns None and does not raise NotImplementedError when operator functions (e.g. .add) of Panel are not implemented (GH7692) • Bug in line and kde plot cannot accept text through processes. More recently dplyr and magrittr have introduced the popular (%>%) pipe operator for R. See the documentation for more. (GH10129) Other Enhancements • Added rsplit to Index/Series0 码力 | 1787 页 | 10.76 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.13.1
special case that the DataFrame contains time series. Since there are now method for each binary operator enabling you to specify how you want to broadcast, we are phasing out this special case (Zen of (GH2101) • Panel.shift now supports negative periods (GH2164) • DataFrame now support unary ~ operator (GH2110) 1.7.2 API changes • Upsampling data with a PeriodIndex will result in a higher frequency ix[’b’:’h’] Out[13]: c 0.562726 e -2.371548 g 1.269713 dtype: float64 1.14.4 Changes to Series [] operator As as notational convenience, you can pass a sequence of labels or a label slice to a Series when0 码力 | 1219 页 | 4.81 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.14.0
should do x | y instead x / y # this raises because it doesn’t make sense NotImplementedError: operator ’/’ not implemented for bool dtypes • In HDFStore, select_as_multiple will always raise a KeyError special case that the DataFrame contains time series. Since there are now method for each binary operator enabling you to specify how you want to broadcast, we are phasing out this special case (Zen of (GH2101) • Panel.shift now supports negative periods (GH2164) • DataFrame now support unary ~ operator (GH2110) 1.8.2 API changes • Upsampling data with a PeriodIndex will result in a higher frequency0 码力 | 1349 页 | 7.67 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.19.0
label-based slicing . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 1.27.4 Changes to Series [] operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 1.27.5 Other API Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554 13.14.5 Special use of the == operator with list objects . . . . . . . . . . . . . . . . . . . . . . . 555 13.14.6 Boolean Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1034 29.1.2 Using the in operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1034 29.2 NaN, Integer0 码力 | 1937 页 | 12.03 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.19.1
label-based slicing . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 1.28.4 Changes to Series [] operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 1.28.5 Other API Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556 13.14.5 Special use of the == operator with list objects . . . . . . . . . . . . . . . . . . . . . . . 557 13.14.6 Boolean Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036 29.1.2 Using the in operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036 29.2 NaN, Integer0 码力 | 1943 页 | 12.06 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.15
duplicated/drop_duplicates with a Categorical (GH8623) • Bug in Categorical reflected comparison operator raising if the first argument was a numpy array scalar (e.g. np.int64) (GH8658) • Bug in Panel arrays containing NaN for equality (GH7065) • Bug in DataFrame.eval() where the dtype of the not operator (~) was not correctly inferred as bool. 1.4 v0.14.1 (July 11, 2014) This is a minor release from should do x | y instead x / y # this raises because it doesn’t make sense NotImplementedError: operator ’/’ not implemented for bool dtypes • In HDFStore, select_as_multiple will always raise a KeyError0 码力 | 1579 页 | 9.15 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.15.1
duplicated/drop_duplicates with a Categorical (GH8623) • Bug in Categorical reflected comparison operator raising if the first argument was a numpy array scalar (e.g. np.int64) (GH8658) • Bug in Panel arrays containing NaN for equality (GH7065) • Bug in DataFrame.eval() where the dtype of the not operator (~) was not correctly inferred as bool. 1.2. v0.15.0 (October 18, 2014) 35 pandas: powerful Python should do x | y instead x / y # this raises because it doesn’t make sense NotImplementedError: operator ’/’ not implemented for bool dtypes • In HDFStore, select_as_multiple will always raise a KeyError0 码力 | 1557 页 | 9.10 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.24.0
respectively) (GH22938) Operator support A Series based on an ExtensionArray now supports arithmetic and comparison operators (GH19577). There are two approaches for providing operator support for an ExtensionArray: 2. Use an operator implementation from pandas that depends on operators that are already defined on the underly- ing elements (scalars) of the ExtensionArray. See the ExtensionArray Operator Support documentation documentation section for details on both ways of adding operator support. Other changes • A default repr for pandas.api.extensions.ExtensionArray is now provided (GH23601). • ExtensionArray._formatting_values()0 码力 | 2973 页 | 9.90 MB | 1 年前3pandas: powerful Python data analysis toolkit - 1.0.0
returning a Series when there was a column named sparse rather than the accessor (GH30758) • Fixed operator.xor() with a boolean-dtype SparseArray. Now returns a sparse result, rather than object dtype (GH31025) pipes and more recently dplyr and magrittr, which have introduced the popular (%>%) (read pipe) operator for R. The implementation of pipe here is quite clean and feels right at home in python. We encourage function match. The operator %in% is used to return a logical vector indicating if there is a match or not: s <- 0:4 s %in% c(2,4) The isin() method is similar to R %in% operator: In [12]: s = pd.Series(np0 码力 | 3015 页 | 10.78 MB | 1 年前3pandas: powerful Python data analysis toolkit - 0.20.3
label-based slicing . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 1.32.4 Changes to Series [] operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 1.32.5 Other API Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617 12.15.5 Special use of the == operator with list objects . . . . . . . . . . . . . . . . . . . . . . . 619 12.15.6 Boolean Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1136 28.2.2 Using the in operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1136 28.3 NaN, Integer0 码力 | 2045 页 | 9.18 MB | 1 年前3
共 32 条
- 1
- 2
- 3
- 4