Upgrading pandas 0.18 to 0.19
Breaking0.18.1 → 0.19.2Breaking3Deprecated1New6Changed1Other1
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Comparing two Series now aligns them by index instead of comparing position by position, which can change results.
- Three old modules that were already deprecated are gone, so imports of them will fail.
- Period-based indexes now behave like other index types, which can change results for code relying on the old behaviour.
- The Panel4D and PanelND types are deprecated; use the xarray package for n-dimensional data instead.
Must act 4 items need code or config changes
What you must change
Breaking3
Comparison operations with Series no longer ignore the index.
SeriesRemoves the previously deprecated modules pandas.io.data, pandas.io.wb and pandas.tools.rplot.
pandas.io.datapandas.io.wbpandas.tools.rplotPeriodIndex now has its own period dtype and is more consistent with other Index classes.
PeriodIndexIndexDeprecations to plan for
Deprecated1
Deprecates Panel4D and PanelND, recommending xarray for n-dimensional data.
Panel4DPanelNDAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export merge_asof - added:
export merge_ordered
- added:
variable FileNotFoundError - added:
variable PY36
- added:
function validate_cum_func_with_skipna(skipna, args, kwargs, name) - added:
function validate_expanding_func(name, args, kwargs) - added:
function validate_groupby_func(name, args, kwargs) - added:
function validate_resampler_func(method, args, kwargs) - added:
function validate_rolling_func(name, args, kwargs) - added:
function validate_window_func(name, args, kwargs) - added:
variable RESAMPLER_NUMPY_OPS
- removed:
function select_n(series, n, keep, method) - added:
function duplicated(values, keep=…) - added:
function safe_sort(values, labels=…, na_sentinel=…, assume_unique=…) - added:
function select_n_frame(frame, columns, n, method, keep) - added:
function select_n_series(series, n, keep, method)
- added:
variable datetools
- added:
field IndexOpsMixin.is_monotonic_increasing - added:
property IndexOpsMixin.is_monotonic - added:
property IndexOpsMixin.is_monotonic_decreasing
- removed:
field Categorical.levels - changed:
constructor Categorical(values, categories=…, ordered=…, name=…, fastpath=…, levels=…) → constructor Categorical(values, categories=…, ordered=…, name=…, fastpath=…) - changed:
method Categorical.astype(dtype) → method Categorical.astype(dtype, copy=…)
- removed:
function ensure_float(arr) - removed:
function is_any_int_dtype(arr_or_dtype) - removed:
function is_bool_dtype(arr_or_dtype) - removed:
function is_categorical(array) - removed:
function is_categorical_dtype(arr_or_dtype) - removed:
function is_complex_dtype(arr_or_dtype) - removed:
function is_datetime64_any_dtype(arr_or_dtype) - removed:
function is_datetime64_dtype(arr_or_dtype) - removed:
function is_datetime64_ns_dtype(arr_or_dtype) - removed:
function is_datetime64tz_dtype(arr_or_dtype) - removed:
function is_datetime_arraylike(arr) - removed:
function is_datetime_or_timedelta_dtype(arr_or_dtype) - removed:
function is_datetimelike(arr) - removed:
function is_datetimelike_v_numeric(a, b) - removed:
function is_datetimelike_v_object(a, b) - removed:
function is_datetimetz(array) - removed:
function is_dict_like(arg) - removed:
function is_dtype_equal(source, target) - removed:
function is_extension_type(value) - removed:
function is_float_dtype(arr_or_dtype) - removed:
function is_floating_dtype(arr_or_dtype) - removed:
function is_hashable(arg) - removed:
function is_int64_dtype(arr_or_dtype) - removed:
function is_int_or_datetime_dtype(arr_or_dtype) - removed:
function is_integer_dtype(arr_or_dtype) - removed:
function is_iterator(obj) - removed:
function is_list_like(arg) - removed:
function is_named_tuple(arg) - removed:
function is_null_datelike_scalar(other) - removed:
function is_number(obj) - removed:
function is_numeric_dtype(arr_or_dtype) - removed:
function is_numeric_v_string_like(a, b) - removed:
function is_object_dtype(arr_or_dtype) - removed:
function is_period_arraylike(arr) - removed:
function is_re(obj) - removed:
function is_re_compilable(obj) - removed:
function is_sequence(x) - removed:
function is_sparse(array) - removed:
function is_string_dtype(arr_or_dtype) - removed:
function is_string_like(obj) - removed:
function is_string_like_dtype(arr_or_dtype) - removed:
function is_timedelta64_dtype(arr_or_dtype) - removed:
function is_timedelta64_ns_dtype(arr_or_dtype) - removed:
function isnull(obj) - removed:
function needs_i8_conversion(arr_or_dtype) - removed:
function notnull(obj) - removed:
variable is_bool - removed:
variable is_complex - removed:
variable is_float - removed:
variable is_integer - changed:
function array_equivalent(left, right, strict_nan=…) → function array_equivalent(*args, **kwargs) - added:
class UnsupportedFunctionCall(ValueError) - added:
variable m
- added:
variable pc_html_border_doc
- removed:
field DataFrame.to_wide - changed:
method DataFrame.to_csv(path_or_buf=…, sep=…, na_rep=…, float_format=…, columns=…, header=…, index=…, index_label=…, mode=…, encoding=…, compression=…, quoting=…, quotechar=…, line_terminator=…, chunksize=…, tupleize_cols=…, date_format=…, doublequote=…, escapechar=…, decimal=…, **kwds) → method DataFrame.to_csv(path_or_buf=…, sep=…, na_rep=…, float_format=…, columns=…, header=…, index=…, index_label=…, mode=…, encoding=…, compression=…, quoting=…, quotechar=…, line_terminator=…, chunksize=…, tupleize_cols=…, date_format=…, doublequote=…, escapechar=…, decimal=…) - changed:
method DataFrame.to_html(buf=…, columns=…, col_space=…, colSpace=…, header=…, index=…, na_rep=…, formatters=…, float_format=…, sparsify=…, index_names=…, justify=…, bold_rows=…, classes=…, escape=…, max_rows=…, max_cols=…, show_dimensions=…, notebook=…, decimal=…) → method DataFrame.to_html(buf=…, columns=…, col_space=…, header=…, index=…, na_rep=…, formatters=…, float_format=…, sparsify=…, index_names=…, justify=…, bold_rows=…, classes=…, escape=…, max_rows=…, max_cols=…, show_dimensions=…, notebook=…, decimal=…, border=…) - changed:
method DataFrame.to_latex(buf=…, columns=…, col_space=…, colSpace=…, header=…, index=…, na_rep=…, formatters=…, float_format=…, sparsify=…, index_names=…, bold_rows=…, column_format=…, longtable=…, escape=…, encoding=…, decimal=…) → method DataFrame.to_latex(buf=…, columns=…, col_space=…, header=…, index=…, na_rep=…, formatters=…, float_format=…, sparsify=…, index_names=…, bold_rows=…, column_format=…, longtable=…, escape=…, encoding=…, decimal=…) - changed:
method DataFrame.to_stata(fname, convert_dates=…, write_index=…, encoding=…, byteorder=…, time_stamp=…, data_label=…) → method DataFrame.to_stata(fname, convert_dates=…, write_index=…, encoding=…, byteorder=…, time_stamp=…, data_label=…, variable_labels=…)
- removed:
function is_dictlike(x) - changed:
method NDFrame.resample(rule, how=…, axis=…, fill_method=…, closed=…, label=…, convention=…, kind=…, loffset=…, limit=…, base=…) → method NDFrame.resample(rule, how=…, axis=…, fill_method=…, closed=…, label=…, convention=…, kind=…, loffset=…, limit=…, base=…, on=…, level=…) - changed:
method NDFrame.to_json(path_or_buf=…, orient=…, date_format=…, double_precision=…, force_ascii=…, date_unit=…, default_handler=…) → method NDFrame.to_json(path_or_buf=…, orient=…, date_format=…, double_precision=…, force_ascii=…, date_unit=…, default_handler=…, lines=…) - changed:
method NDFrame.xs(key, axis=…, level=…, copy=…, drop_level=…) → method NDFrame.xs(key, axis=…, level=…, drop_level=…) - added:
method NDFrame.asof(where, subset=…)
- changed:
method GroupBy.cumprod(axis=…) → method GroupBy.cumprod(axis=…, *args, **kwargs) - changed:
method GroupBy.cumsum(axis=…) → method GroupBy.cumsum(axis=…, *args, **kwargs) - changed:
method GroupBy.mean() → method GroupBy.mean(*args, **kwargs) - changed:
method GroupBy.std(ddof=…) → method GroupBy.std(ddof=…, *args, **kwargs) - changed:
method GroupBy.var(ddof=…) → method GroupBy.var(ddof=…, *args, **kwargs)
- removed:
method DatetimeTZBlock.replace(*args, **kwargs) - changed:
method Block.quantile(qs, mgr=…, **kwargs) → method Block.quantile(qs, interpolation=…, axis=…, mgr=…) - changed:
method BlockManager.apply(f, axes=…, filter=…, do_integrity_check=…, consolidate=…, raw=…, **kwargs) → method BlockManager.apply(f, axes=…, filter=…, do_integrity_check=…, consolidate=…, **kwargs) - changed:
method BoolBlock.replace(to_replace, value, inplace=…, filter=…, regex=…, mgr=…) → method BoolBlock.replace(to_replace, value, inplace=…, filter=…, regex=…, convert=…, mgr=…) - added:
class ScalarBlock(Block) - added:
constructor ScalarBlock(values) - added:
method Block.make_block_scalar(values, **kwargs) - added:
method BlockManager.reduction(f, axis=…, consolidate=…, transposed=…, **kwargs) - added:
property ScalarBlock.dtype - added:
property ScalarBlock.shape
- changed:
function add_flex_arithmetic_methods(cls, flex_arith_method, radd_func=…, flex_comp_method=…, flex_bool_method=…, use_numexpr=…, force=…, select=…, exclude=…) → function add_flex_arithmetic_methods(cls, flex_arith_method, flex_comp_method=…, flex_bool_method=…, use_numexpr=…, force=…, select=…, exclude=…) - changed:
function add_special_arithmetic_methods(cls, arith_method=…, radd_func=…, comp_method=…, bool_method=…, use_numexpr=…, force=…, select=…, exclude=…) → function add_special_arithmetic_methods(cls, arith_method=…, comp_method=…, bool_method=…, use_numexpr=…, force=…, select=…, exclude=…, have_divmod=…)
- changed:
method Panel.major_xs(key, copy=…) → method Panel.major_xs(key) - changed:
method Panel.minor_xs(key, copy=…) → method Panel.minor_xs(key) - changed:
method Panel.to_sparse(fill_value=…, kind=…) → method Panel.to_sparse(*args, **kwargs) - changed:
method Panel.xs(key, axis=…, copy=…) → method Panel.xs(key, axis=…)
- removed:
method Series.asof(where) - changed:
method Series.append(to_append, verify_integrity=…) → method Series.append(to_append, ignore_index=…, verify_integrity=…) - changed:
method Series.to_csv(path, index=…, sep=…, na_rep=…, float_format=…, header=…, index_label=…, mode=…, nanRep=…, encoding=…, date_format=…, decimal=…) → method Series.to_csv(path=…, index=…, sep=…, na_rep=…, float_format=…, header=…, index_label=…, mode=…, encoding=…, date_format=…, decimal=…) - added:
method Series.unique()
- changed:
method EWM.mean(**kwargs) → method EWM.mean(*args, **kwargs) - changed:
method EWM.std(bias=…, **kwargs) → method EWM.std(bias=…, *args, **kwargs) - changed:
method EWM.var(bias=…, **kwargs) → method EWM.var(bias=…, *args, **kwargs) - changed:
method Expanding.max(**kwargs) → method Expanding.max(*args, **kwargs) - changed:
method Expanding.mean(**kwargs) → method Expanding.mean(*args, **kwargs) - changed:
method Expanding.min(**kwargs) → method Expanding.min(*args, **kwargs) - changed:
method Expanding.std(ddof=…, **kwargs) → method Expanding.std(ddof=…, *args, **kwargs) - changed:
method Expanding.sum(**kwargs) → method Expanding.sum(*args, **kwargs) - changed:
method Expanding.var(ddof=…, **kwargs) → method Expanding.var(ddof=…, *args, **kwargs) - changed:
method Rolling.max(**kwargs) → method Rolling.max(*args, **kwargs) - changed:
method Rolling.mean(**kwargs) → method Rolling.mean(*args, **kwargs) - changed:
method Rolling.min(**kwargs) → method Rolling.min(*args, **kwargs) - changed:
method Rolling.std(ddof=…, **kwargs) → method Rolling.std(ddof=…, *args, **kwargs) - changed:
method Rolling.sum(**kwargs) → method Rolling.sum(*args, **kwargs) - changed:
method Rolling.var(ddof=…, **kwargs) → method Rolling.var(ddof=…, *args, **kwargs) - changed:
method Window.mean(**kwargs) → method Window.mean(*args, **kwargs) - changed:
method Window.sum(**kwargs) → method Window.sum(*args, **kwargs) - added:
method Rolling.is_datetimelike()
- changed:
constructor CSVFormatter(obj, path_or_buf=…, sep=…, na_rep=…, float_format=…, cols=…, header=…, index=…, index_label=…, mode=…, nanRep=…, encoding=…, compression=…, quoting=…, line_terminator=…, chunksize=…, engine=…, tupleize_cols=…, quotechar=…, date_format=…, doublequote=…, escapechar=…, decimal=…) → constructor CSVFormatter(obj, path_or_buf=…, sep=…, na_rep=…, float_format=…, cols=…, header=…, index=…, index_label=…, mode=…, nanRep=…, encoding=…, compression=…, quoting=…, line_terminator=…, chunksize=…, tupleize_cols=…, quotechar=…, date_format=…, doublequote=…, escapechar=…, decimal=…) - changed:
constructor HTMLFormatter(formatter, classes=…, max_rows=…, max_cols=…, notebook=…) → constructor HTMLFormatter(formatter, classes=…, max_rows=…, max_cols=…, notebook=…, border=…) - changed:
method DataFrameFormatter.to_html(classes=…, notebook=…) → method DataFrameFormatter.to_html(classes=…, notebook=…, border=…) - added:
function format_percentiles(percentiles)
- removed:
field Index.diff - changed:
method Index.astype(dtype) → method Index.astype(dtype, copy=…) - changed:
method Index.groupby(to_groupby) → method Index.groupby(values) - added:
method Index.dropna(how=…) - added:
method Index.reshape(*args, **kwargs) - added:
method Index.unique() - added:
method Index.where(cond, other=…)
- removed:
method CategoricalIndex.append(other) - added:
method CategoricalIndex.unique() - added:
method CategoricalIndex.where(cond, other=…)
- changed:
method MultiIndex.astype(dtype) → method MultiIndex.astype(dtype, copy=…) - changed:
method MultiIndex.copy(names=…, dtype=…, levels=…, labels=…, deep=…, _set_identity=…) → method MultiIndex.copy(names=…, dtype=…, levels=…, labels=…, deep=…, _set_identity=…, **kwargs) - added:
method MultiIndex.dropna(how=…) - added:
method MultiIndex.memory_usage(deep=…) - added:
method MultiIndex.where(cond, other=…)
- removed:
method Int64Index.equals(other) - changed:
method Float64Index.astype(dtype) → method Float64Index.astype(dtype, copy=…)
- added:
method RangeIndex.is_monotonic_decreasing() - added:
method RangeIndex.is_monotonic_increasing()
- removed:
class BotoFileLikeReader(key.Key) - removed:
constructor BotoFileLikeReader(*args, **kwargs) - removed:
method BotoFileLikeReader.close(*args, **kwargs) - removed:
method BotoFileLikeReader.next() - removed:
method BotoFileLikeReader.read(*args, **kwargs) - removed:
method BotoFileLikeReader.readline() - removed:
method BotoFileLikeReader.seekable() - added:
class MMapWrapper(BaseIterator) - added:
constructor MMapWrapper(f)
- removed:
class Options(object) - removed:
class RemoteDataError(PandasError, IOError) - removed:
class SymbolWarning(UserWarning) - removed:
constructor Options(symbol, data_source=…) - removed:
function DataReader(name, data_source=…, start=…, end=…, retry_count=…, pause=…) - removed:
function get_components_yahoo(idx_sym) - removed:
function get_data_famafrench(name) - removed:
function get_data_fred(name, start=…, end=…) - removed:
function get_data_google(symbols=…, start=…, end=…, retry_count=…, pause=…, adjust_price=…, ret_index=…, chunksize=…) - removed:
function get_data_yahoo(symbols=…, start=…, end=…, retry_count=…, pause=…, adjust_price=…, ret_index=…, chunksize=…, interval=…) - removed:
function get_quote_google(symbols) - removed:
function get_quote_yahoo(symbols) - removed:
method Options.chop_data(df, above_below=…, underlying_price=…) - removed:
method Options.get_all_data(call=…, put=…) - removed:
method Options.get_call_data(month=…, year=…, expiry=…) - removed:
method Options.get_forward_data(months, call=…, put=…, near=…, above_below=…) - removed:
method Options.get_near_stock_price(above_below=…, call=…, put=…, month=…, year=…, expiry=…) - removed:
method Options.get_options_data(month=…, year=…, expiry=…) - removed:
method Options.get_put_data(month=…, year=…, expiry=…) - removed:
property Options.expiry_dates - removed:
variable CUR_DAY - removed:
variable CUR_MONTH - removed:
variable CUR_YEAR
- changed:
function read_excel(io, sheetname=…, header=…, skiprows=…, skip_footer=…, index_col=…, names=…, parse_cols=…, parse_dates=…, date_parser=…, na_values=…, thousands=…, convert_float=…, has_index_names=…, converters=…, engine=…, squeeze=…, **kwds) → function read_excel(io, sheetname=…, header=…, skiprows=…, skip_footer=…, index_col=…, names=…, parse_cols=…, parse_dates=…, date_parser=…, na_values=…, thousands=…, convert_float=…, has_index_names=…, converters=…, true_values=…, false_values=…, engine=…, squeeze=…, **kwds) - changed:
method ExcelFile.parse(sheetname=…, header=…, skiprows=…, skip_footer=…, names=…, index_col=…, parse_cols=…, parse_dates=…, date_parser=…, na_values=…, thousands=…, convert_float=…, has_index_names=…, converters=…, squeeze=…, **kwds) → method ExcelFile.parse(sheetname=…, header=…, skiprows=…, skip_footer=…, names=…, index_col=…, parse_cols=…, parse_dates=…, date_parser=…, na_values=…, thousands=…, convert_float=…, has_index_names=…, converters=…, true_values=…, false_values=…, squeeze=…, **kwds)
- changed:
constructor GbqConnector(project_id, reauth=…, verbose=…, private_key=…) → constructor GbqConnector(project_id, reauth=…, verbose=…, private_key=…, dialect=…) - changed:
function read_gbq(query, project_id=…, index_col=…, col_order=…, reauth=…, verbose=…, private_key=…) → function read_gbq(query, project_id=…, index_col=…, col_order=…, reauth=…, verbose=…, private_key=…, dialect=…) - added:
method GbqConnector.get_application_default_credentials()
- changed:
function read_html(io, match=…, flavor=…, header=…, index_col=…, skiprows=…, attrs=…, parse_dates=…, tupleize_cols=…, thousands=…, encoding=…) → function read_html(io, match=…, flavor=…, header=…, index_col=…, skiprows=…, attrs=…, parse_dates=…, tupleize_cols=…, thousands=…, encoding=…, decimal=…, converters=…, na_values=…, keep_default_na=…)
- changed:
function read_json(path_or_buf=…, orient=…, typ=…, dtype=…, convert_axes=…, convert_dates=…, keep_default_dates=…, numpy=…, precise_float=…, date_unit=…) → function read_json(path_or_buf=…, orient=…, typ=…, dtype=…, convert_axes=…, convert_dates=…, keep_default_dates=…, numpy=…, precise_float=…, date_unit=…, encoding=…, lines=…) - changed:
function to_json(path_or_buf, obj, orient=…, date_format=…, double_precision=…, force_ascii=…, date_unit=…, default_handler=…) → function to_json(path_or_buf, obj, orient=…, date_format=…, double_precision=…, force_ascii=…, date_unit=…, default_handler=…, lines=…)
- added:
method CParserWrapper.close()
- removed:
class SparsePanelFixed(GenericFixed) - removed:
field SparsePanelFixed.attributes - removed:
field SparsePanelFixed.pandas_kind - removed:
method SparsePanelFixed.read(**kwargs) - removed:
method SparsePanelFixed.write(obj, **kwargs) - changed:
class SparseFrameFixed(GenericFixed) → class SparseFrameFixed(SparseFixed) - changed:
class SparseSeriesFixed(GenericFixed) → class SparseSeriesFixed(SparseFixed) - changed:
method BlockManagerFixed.read(**kwargs) → method BlockManagerFixed.read(start=…, stop=…, **kwargs) - changed:
method GenericFixed.read_array(key) → method GenericFixed.read_array(key, start=…, stop=…) - changed:
method GenericFixed.read_block_index(key) → method GenericFixed.read_block_index(key, **kwargs) - changed:
method GenericFixed.read_index(key) → method GenericFixed.read_index(key, **kwargs) - changed:
method GenericFixed.read_index_node(node) → method GenericFixed.read_index_node(node, start=…, stop=…) - changed:
method GenericFixed.read_multi_index(key) → method GenericFixed.read_multi_index(key, **kwargs) - changed:
method GenericFixed.read_sparse_intindex(key) → method GenericFixed.read_sparse_intindex(key, **kwargs) - changed:
method LegacyFixed.read_index_legacy(key) → method LegacyFixed.read_index_legacy(key, start=…, stop=…) - added:
class SparseFixed(GenericFixed) - added:
method SparseFixed.validate_read(kwargs)
- added:
class BotoFileLikeReader(key.Key) - added:
constructor BotoFileLikeReader(*args, **kwargs) - added:
function get_filepath_or_buffer(filepath_or_buffer, encoding=…, compression=…) - added:
method BotoFileLikeReader.close(*args, **kwargs) - added:
method BotoFileLikeReader.next() - added:
method BotoFileLikeReader.read(*args, **kwargs) - added:
method BotoFileLikeReader.readline() - added:
method BotoFileLikeReader.seekable()
- added:
method SAS7BDATReader.close()
- added:
method XportReader.close()
- removed:
function tquery(sql, con=…, cur=…, retry=…) - removed:
function uquery(sql, con=…, cur=…, retry=…, params=…) - changed:
constructor SQLiteDatabase(con, flavor, is_cursor=…) → constructor SQLiteDatabase(con, flavor=…, is_cursor=…)
- changed:
constructor StataWriter(fname, data, convert_dates=…, write_index=…, encoding=…, byteorder=…, time_stamp=…, data_label=…) → constructor StataWriter(fname, data, convert_dates=…, write_index=…, encoding=…, byteorder=…, time_stamp=…, data_label=…, variable_labels=…)
- removed:
function download(country=…, indicator=…, start=…, end=…, errors=…) - removed:
function get_countries() - removed:
function get_indicators() - removed:
function search(string=…, field=…, case=…) - removed:
variable country_codes
- removed:
class DataFrameModel(QAbstractTableModel) - removed:
class DataFrameWidget(QWidget) - removed:
class Form(QDialog) - removed:
constructor DataFrameModel() - removed:
constructor DataFrameWidget(dataFrame, parent=…) - removed:
constructor Form(parent=…) - removed:
function testDf() - removed:
method DataFrameModel.columnCount(index=…) - removed:
method DataFrameModel.data(index, role=…) - removed:
method DataFrameModel.flags(index) - removed:
method DataFrameModel.headerData(section, orientation, role=…) - removed:
method DataFrameModel.rowCount(index=…) - removed:
method DataFrameModel.setData(index, value, role) - removed:
method DataFrameModel.setDataFrame(dataFrame) - removed:
method DataFrameModel.signalUpdate() - removed:
method DataFrameWidget.setDataFrame(dataFrame) - removed:
variable QVariant - removed:
variable app - removed:
variable form
- changed:
method SparseArray.astype(dtype=…) → method SparseArray.astype(dtype=…, copy=…) - added:
property SparseArray.fill_value
- added:
method SparseDataFrame.isnotnull() - added:
method SparseDataFrame.isnull()
- removed:
class SparsePanel(Panel) - removed:
class SparsePanelAxis(object) - removed:
constructor SparsePanel(frames=…, items=…, major_axis=…, minor_axis=…, default_fill_value=…, default_kind=…, copy=…) - removed:
constructor SparsePanelAxis(cache_field, frame_attr) - removed:
field SparsePanel.items - removed:
field SparsePanel.major_axis - removed:
field SparsePanel.minor_axis - removed:
field SparsePanel.ndim - removed:
field SparsePanel.toLong - removed:
field SparsePanel.to_long - removed:
method SparsePanel.as_matrix() - removed:
method SparsePanel.copy(deep=…) - removed:
method SparsePanel.major_xs(key) - removed:
method SparsePanel.minor_xs(key) - removed:
method SparsePanel.mod(val, *args, **kwargs) - removed:
method SparsePanel.pow(val, *args, **kwargs) - removed:
method SparsePanel.reindex(major=…, items=…, minor=…, major_axis=…, minor_axis=…, copy=…) - removed:
method SparsePanel.set_value(item, major, minor, value) - removed:
method SparsePanel.to_dense() - removed:
method SparsePanel.to_frame(filter_observations=…) - removed:
property SparsePanel.values - removed:
static method SparsePanel.from_dict(data) - removed:
variable SparseWidePanel
- added:
method SparseSeries.isnotnull() - added:
method SparseSeries.isnull()
- added:
function hash_array(vals, encoding=…, hash_key=…) - added:
function hash_pandas_object(obj, index=…, encoding=…, hash_key=…)
- changed:
function ordered_merge(left, right, on=…, left_by=…, right_by=…, left_on=…, right_on=…, fill_method=…, suffixes=…) → function ordered_merge(left, right, on=…, left_on=…, right_on=…, left_by=…, right_by=…, fill_method=…, suffixes=…) - added:
function merge_asof(left, right, on=…, left_on=…, right_on=…, left_index=…, right_index=…, by=…, left_by=…, right_by=…, suffixes=…, tolerance=…, allow_exact_matches=…) - added:
function merge_ordered(left, right, on=…, left_on=…, right_on=…, left_by=…, right_by=…, fill_method=…, suffixes=…, how=…)
- removed:
class GeomDensity(Layer) - removed:
class GeomDensity2D(Layer) - removed:
class GeomHistogram(Layer) - removed:
class GeomPoint(Layer) - removed:
class GeomPolyFit(Layer) - removed:
class GeomScatter(Layer) - removed:
class Layer - removed:
class RPlot - removed:
class Scale - removed:
class ScaleConstant(Scale) - removed:
class ScaleGradient(Scale) - removed:
class ScaleGradient2(Scale) - removed:
class ScaleRandomColour(Scale) - removed:
class ScaleShape(Scale) - removed:
class ScaleSize(Scale) - removed:
class TrellisGrid(Layer) - removed:
constructor GeomHistogram(bins=…, colour=…) - removed:
constructor GeomPolyFit(degree, lw=…, colour=…) - removed:
constructor GeomScatter(marker=…, colour=…, alpha=…) - removed:
constructor Layer(data=…, **kwds) - removed:
constructor RPlot(data, x=…, y=…) - removed:
constructor ScaleConstant(value) - removed:
constructor ScaleGradient(column, colour1, colour2) - removed:
constructor ScaleGradient2(column, colour1, colour2, colour3) - removed:
constructor ScaleRandomColour(column) - removed:
constructor ScaleShape(column) - removed:
constructor ScaleSize(column, min_size=…, max_size=…, transform=…) - removed:
constructor TrellisGrid(by) - removed:
function adjust_subplots(fig, axes, trellis, layers) - removed:
function default_aes(x=…, y=…) - removed:
function dictionary_union(dict1, dict2) - removed:
function make_aes(x=…, y=…, size=…, colour=…, shape=…, alpha=…) - removed:
function merge_aes(layer1, layer2) - removed:
function sequence_grids(layer_grids) - removed:
function sequence_layers(layers) - removed:
function work_grid(grid, fig) - removed:
method GeomDensity.work(fig=…, ax=…) - removed:
method GeomDensity2D.work(fig=…, ax=…) - removed:
method GeomHistogram.work(fig=…, ax=…) - removed:
method GeomPoint.work(fig=…, ax=…) - removed:
method GeomPolyFit.work(fig=…, ax=…) - removed:
method GeomScatter.work(fig=…, ax=…) - removed:
method Layer.work(fig=…, ax=…) - removed:
method RPlot.add(layer) - removed:
method RPlot.render(fig=…) - removed:
method TrellisGrid.trellis(layers)
- changed:
function to_numeric(arg, errors=…) → function to_numeric(arg, errors=…, downcast=…)
- removed:
method DatetimeIndexOpsMixin.groupby(f) - removed:
method DatetimeIndexOpsMixin.hasnans() - removed:
method DatetimeIndexOpsMixin.unique() - added:
method DatetimeIndexOpsMixin.equals(other) - added:
method DatetimeIndexOpsMixin.where(cond, other=…)
- added:
variable HOURS_PER_DAY - added:
variable MIN_PER_HOUR - added:
variable MUSEC_PER_DAY - added:
variable SEC_PER_DAY - added:
variable SEC_PER_HOUR - added:
variable SEC_PER_MIN
- removed:
function get_legacy_offset_name(offset) - changed:
function to_offset(freqstr) → function to_offset(freq)
- removed:
method DatetimeIndex.append(other) - removed:
method DatetimeIndex.equals(other) - changed:
method DatetimeIndex.astype(dtype) → method DatetimeIndex.astype(dtype, copy=…) - changed:
method DatetimeIndex.tz_localize(tz, ambiguous=…) → method DatetimeIndex.tz_localize(tz, ambiguous=…, errors=…) - added:
field DatetimeIndex.is_leap_year
- added:
class SemiMonthBegin(SemiMonthOffset) - added:
class SemiMonthEnd(SemiMonthOffset) - added:
method SemiMonthBegin.onOffset(dt) - added:
method SemiMonthEnd.onOffset(dt)
- removed:
method PeriodIndex.append(other) - removed:
method PeriodIndex.dtype_str() - removed:
method PeriodIndex.equals(other) - removed:
method PeriodIndex.repeat(n, *args, **kwargs) - changed:
method PeriodIndex.astype(dtype) → method PeriodIndex.astype(dtype, copy=…, how=…) - added:
method PeriodIndex.dtype() - added:
method PeriodIndex.insert(loc, item) - added:
property PeriodIndex.asi8 - added:
property PeriodIndex.is_leap_year - added:
property PeriodIndex.values
- changed:
method Resampler.std(ddof=…) → method Resampler.std(ddof=…, *args, **kwargs) - changed:
method Resampler.var(ddof=…) → method Resampler.var(ddof=…, *args, **kwargs)
- removed:
method TimedeltaIndex.append(other) - removed:
method TimedeltaIndex.equals(other) - changed:
method TimedeltaIndex.astype(dtype) → method TimedeltaIndex.astype(dtype, copy=…)
- removed:
function pandas_dtype(dtype)
- added:
function is_any_int_dtype(arr_or_dtype) - added:
function is_bool_dtype(arr_or_dtype) - added:
function is_categorical(array) - added:
function is_categorical_dtype(arr_or_dtype) - added:
function is_complex_dtype(arr_or_dtype) - added:
function is_datetime64_any_dtype(arr_or_dtype) - added:
function is_datetime64_dtype(arr_or_dtype) - added:
function is_datetime64_ns_dtype(arr_or_dtype) - added:
function is_datetime64tz_dtype(arr_or_dtype) - added:
function is_datetime_arraylike(arr) - added:
function is_datetime_or_timedelta_dtype(arr_or_dtype) - added:
function is_datetimelike(arr) - added:
function is_datetimelike_v_numeric(a, b) - added:
function is_datetimelike_v_object(a, b) - added:
function is_datetimetz(array) - added:
function is_dtype_equal(source, target) - added:
function is_extension_type(value) - added:
function is_float_dtype(arr_or_dtype) - added:
function is_floating_dtype(arr_or_dtype) - added:
function is_int64_dtype(arr_or_dtype) - added:
function is_int_or_datetime_dtype(arr_or_dtype) - added:
function is_integer_dtype(arr_or_dtype) - added:
function is_numeric_dtype(arr_or_dtype) - added:
function is_numeric_v_string_like(a, b) - added:
function is_object_dtype(arr_or_dtype) - added:
function is_period(array) - added:
function is_period_arraylike(arr) - added:
function is_period_dtype(arr_or_dtype) - added:
function is_sparse(array) - added:
function is_string_dtype(arr_or_dtype) - added:
function is_string_like_dtype(arr_or_dtype) - added:
function is_timedelta64_dtype(arr_or_dtype) - added:
function is_timedelta64_ns_dtype(arr_or_dtype) - added:
function needs_i8_conversion(arr_or_dtype) - added:
function pandas_dtype(dtype)
- added:
function union_categoricals(to_union, sort_categories=…)
- removed:
constructor DatetimeTZDtype(unit, tz=…) - added:
class PeriodDtype(ExtensionDtype) - added:
class PeriodDtypeType(type) - added:
field PeriodDtype.base - added:
field PeriodDtype.kind - added:
field PeriodDtype.num - added:
field PeriodDtype.str - added:
field PeriodDtype.type - added:
property PeriodDtype.name - added:
static method PeriodDtype.construct_from_string(string) - added:
static method PeriodDtype.is_dtype(dtype)
- added:
function is_dict_like(arg) - added:
function is_hashable(arg) - added:
function is_iterator(obj) - added:
function is_list_like(arg) - added:
function is_named_tuple(arg) - added:
function is_number(obj) - added:
function is_re(obj) - added:
function is_re_compilable(obj) - added:
function is_sequence(x) - added:
function is_string_like(obj) - added:
variable is_bool - added:
variable is_complex - added:
variable is_float - added:
variable is_integer - added:
variable is_scalar
- added:
function array_equivalent(left, right, strict_nan=…) - added:
function is_null_datelike_scalar(other) - added:
function isnull(obj) - added:
function na_value_for_dtype(dtype) - added:
function notnull(obj)
- removed:
class NoClipboardProgramError(OSError) - removed:
variable PY2 - removed:
variable app - removed:
variable cb - removed:
variable clipboard_get - removed:
variable clipboard_set - removed:
variable gtkInstalled - removed:
variable qtBindingInstalled - removed:
variable text_type - removed:
variable xclipExists - removed:
variable xklipperExists - removed:
variable xselExists
- added:
function init_gtk_clipboard() - added:
function init_klipper_clipboard() - added:
function init_no_clipboard() - added:
function init_osx_clipboard() - added:
function init_qt_clipboard() - added:
function init_xclip_clipboard() - added:
function init_xsel_clipboard() - added:
variable EXCEPT_MSG - added:
variable PY2 - added:
variable text_type
- added:
class PyperclipException(RuntimeError) - added:
class PyperclipWindowsException(PyperclipException) - added:
constructor PyperclipWindowsException(message)
- added:
class CheckedCall(object) - added:
constructor CheckedCall(f) - added:
function init_windows_clipboard()