diff --git a/doc/redirects.csv b/doc/redirects.csv index f124fdb840ce02..b8dac83e301d53 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -829,174 +829,6 @@ generated/pandas.MultiIndex.to_frame,../reference/api/pandas.MultiIndex.to_frame generated/pandas.notna,../reference/api/pandas.notna generated/pandas.notnull,../reference/api/pandas.notnull generated/pandas.option_context,../reference/api/pandas.option_context -generated/pandas.Panel.abs,../reference/api/pandas.Panel.abs -generated/pandas.Panel.add,../reference/api/pandas.Panel.add -generated/pandas.Panel.add_prefix,../reference/api/pandas.Panel.add_prefix -generated/pandas.Panel.add_suffix,../reference/api/pandas.Panel.add_suffix -generated/pandas.Panel.agg,../reference/api/pandas.Panel.agg -generated/pandas.Panel.aggregate,../reference/api/pandas.Panel.aggregate -generated/pandas.Panel.align,../reference/api/pandas.Panel.align -generated/pandas.Panel.all,../reference/api/pandas.Panel.all -generated/pandas.Panel.any,../reference/api/pandas.Panel.any -generated/pandas.Panel.apply,../reference/api/pandas.Panel.apply -generated/pandas.Panel.as_blocks,../reference/api/pandas.Panel.as_blocks -generated/pandas.Panel.asfreq,../reference/api/pandas.Panel.asfreq -generated/pandas.Panel.as_matrix,../reference/api/pandas.Panel.as_matrix -generated/pandas.Panel.asof,../reference/api/pandas.Panel.asof -generated/pandas.Panel.astype,../reference/api/pandas.Panel.astype -generated/pandas.Panel.at,../reference/api/pandas.Panel.at -generated/pandas.Panel.at_time,../reference/api/pandas.Panel.at_time -generated/pandas.Panel.axes,../reference/api/pandas.Panel.axes -generated/pandas.Panel.between_time,../reference/api/pandas.Panel.between_time -generated/pandas.Panel.bfill,../reference/api/pandas.Panel.bfill -generated/pandas.Panel.blocks,../reference/api/pandas.Panel.blocks -generated/pandas.Panel.bool,../reference/api/pandas.Panel.bool -generated/pandas.Panel.clip,../reference/api/pandas.Panel.clip -generated/pandas.Panel.clip_lower,../reference/api/pandas.Panel.clip_lower -generated/pandas.Panel.clip_upper,../reference/api/pandas.Panel.clip_upper -generated/pandas.Panel.compound,../reference/api/pandas.Panel.compound -generated/pandas.Panel.conform,../reference/api/pandas.Panel.conform -generated/pandas.Panel.convert_objects,../reference/api/pandas.Panel.convert_objects -generated/pandas.Panel.copy,../reference/api/pandas.Panel.copy -generated/pandas.Panel.count,../reference/api/pandas.Panel.count -generated/pandas.Panel.cummax,../reference/api/pandas.Panel.cummax -generated/pandas.Panel.cummin,../reference/api/pandas.Panel.cummin -generated/pandas.Panel.cumprod,../reference/api/pandas.Panel.cumprod -generated/pandas.Panel.cumsum,../reference/api/pandas.Panel.cumsum -generated/pandas.Panel.describe,../reference/api/pandas.Panel.describe -generated/pandas.Panel.div,../reference/api/pandas.Panel.div -generated/pandas.Panel.divide,../reference/api/pandas.Panel.divide -generated/pandas.Panel.drop,../reference/api/pandas.Panel.drop -generated/pandas.Panel.droplevel,../reference/api/pandas.Panel.droplevel -generated/pandas.Panel.dropna,../reference/api/pandas.Panel.dropna -generated/pandas.Panel.dtypes,../reference/api/pandas.Panel.dtypes -generated/pandas.Panel.empty,../reference/api/pandas.Panel.empty -generated/pandas.Panel.eq,../reference/api/pandas.Panel.eq -generated/pandas.Panel.equals,../reference/api/pandas.Panel.equals -generated/pandas.Panel.ffill,../reference/api/pandas.Panel.ffill -generated/pandas.Panel.fillna,../reference/api/pandas.Panel.fillna -generated/pandas.Panel.filter,../reference/api/pandas.Panel.filter -generated/pandas.Panel.first,../reference/api/pandas.Panel.first -generated/pandas.Panel.first_valid_index,../reference/api/pandas.Panel.first_valid_index -generated/pandas.Panel.floordiv,../reference/api/pandas.Panel.floordiv -generated/pandas.Panel.from_dict,../reference/api/pandas.Panel.from_dict -generated/pandas.Panel.fromDict,../reference/api/pandas.Panel.fromDict -generated/pandas.Panel.ge,../reference/api/pandas.Panel.ge -generated/pandas.Panel.get_dtype_counts,../reference/api/pandas.Panel.get_dtype_counts -generated/pandas.Panel.get,../reference/api/pandas.Panel.get -generated/pandas.Panel.get_value,../reference/api/pandas.Panel.get_value -generated/pandas.Panel.get_values,../reference/api/pandas.Panel.get_values -generated/pandas.Panel.groupby,../reference/api/pandas.Panel.groupby -generated/pandas.Panel.gt,../reference/api/pandas.Panel.gt -generated/pandas.Panel.head,../reference/api/pandas.Panel.head -generated/pandas.Panel,../reference/api/pandas.Panel -generated/pandas.Panel.iat,../reference/api/pandas.Panel.iat -generated/pandas.Panel.iloc,../reference/api/pandas.Panel.iloc -generated/pandas.Panel.infer_objects,../reference/api/pandas.Panel.infer_objects -generated/pandas.Panel.interpolate,../reference/api/pandas.Panel.interpolate -generated/pandas.Panel.is_copy,../reference/api/pandas.Panel.is_copy -generated/pandas.Panel.isna,../reference/api/pandas.Panel.isna -generated/pandas.Panel.isnull,../reference/api/pandas.Panel.isnull -generated/pandas.Panel.items,../reference/api/pandas.Panel.items -generated/pandas.Panel.__iter__,../reference/api/pandas.Panel.__iter__ -generated/pandas.Panel.iteritems,../reference/api/pandas.Panel.iteritems -generated/pandas.Panel.ix,../reference/api/pandas.Panel.ix -generated/pandas.Panel.join,../reference/api/pandas.Panel.join -generated/pandas.Panel.keys,../reference/api/pandas.Panel.keys -generated/pandas.Panel.kurt,../reference/api/pandas.Panel.kurt -generated/pandas.Panel.kurtosis,../reference/api/pandas.Panel.kurtosis -generated/pandas.Panel.last,../reference/api/pandas.Panel.last -generated/pandas.Panel.last_valid_index,../reference/api/pandas.Panel.last_valid_index -generated/pandas.Panel.le,../reference/api/pandas.Panel.le -generated/pandas.Panel.loc,../reference/api/pandas.Panel.loc -generated/pandas.Panel.lt,../reference/api/pandas.Panel.lt -generated/pandas.Panel.mad,../reference/api/pandas.Panel.mad -generated/pandas.Panel.major_axis,../reference/api/pandas.Panel.major_axis -generated/pandas.Panel.major_xs,../reference/api/pandas.Panel.major_xs -generated/pandas.Panel.mask,../reference/api/pandas.Panel.mask -generated/pandas.Panel.max,../reference/api/pandas.Panel.max -generated/pandas.Panel.mean,../reference/api/pandas.Panel.mean -generated/pandas.Panel.median,../reference/api/pandas.Panel.median -generated/pandas.Panel.min,../reference/api/pandas.Panel.min -generated/pandas.Panel.minor_axis,../reference/api/pandas.Panel.minor_axis -generated/pandas.Panel.minor_xs,../reference/api/pandas.Panel.minor_xs -generated/pandas.Panel.mod,../reference/api/pandas.Panel.mod -generated/pandas.Panel.mul,../reference/api/pandas.Panel.mul -generated/pandas.Panel.multiply,../reference/api/pandas.Panel.multiply -generated/pandas.Panel.ndim,../reference/api/pandas.Panel.ndim -generated/pandas.Panel.ne,../reference/api/pandas.Panel.ne -generated/pandas.Panel.notna,../reference/api/pandas.Panel.notna -generated/pandas.Panel.notnull,../reference/api/pandas.Panel.notnull -generated/pandas.Panel.pct_change,../reference/api/pandas.Panel.pct_change -generated/pandas.Panel.pipe,../reference/api/pandas.Panel.pipe -generated/pandas.Panel.pop,../reference/api/pandas.Panel.pop -generated/pandas.Panel.pow,../reference/api/pandas.Panel.pow -generated/pandas.Panel.prod,../reference/api/pandas.Panel.prod -generated/pandas.Panel.product,../reference/api/pandas.Panel.product -generated/pandas.Panel.radd,../reference/api/pandas.Panel.radd -generated/pandas.Panel.rank,../reference/api/pandas.Panel.rank -generated/pandas.Panel.rdiv,../reference/api/pandas.Panel.rdiv -generated/pandas.Panel.reindex_axis,../reference/api/pandas.Panel.reindex_axis -generated/pandas.Panel.reindex,../reference/api/pandas.Panel.reindex -generated/pandas.Panel.reindex_like,../reference/api/pandas.Panel.reindex_like -generated/pandas.Panel.rename_axis,../reference/api/pandas.Panel.rename_axis -generated/pandas.Panel.rename,../reference/api/pandas.Panel.rename -generated/pandas.Panel.replace,../reference/api/pandas.Panel.replace -generated/pandas.Panel.resample,../reference/api/pandas.Panel.resample -generated/pandas.Panel.rfloordiv,../reference/api/pandas.Panel.rfloordiv -generated/pandas.Panel.rmod,../reference/api/pandas.Panel.rmod -generated/pandas.Panel.rmul,../reference/api/pandas.Panel.rmul -generated/pandas.Panel.round,../reference/api/pandas.Panel.round -generated/pandas.Panel.rpow,../reference/api/pandas.Panel.rpow -generated/pandas.Panel.rsub,../reference/api/pandas.Panel.rsub -generated/pandas.Panel.rtruediv,../reference/api/pandas.Panel.rtruediv -generated/pandas.Panel.sample,../reference/api/pandas.Panel.sample -generated/pandas.Panel.select,../reference/api/pandas.Panel.select -generated/pandas.Panel.sem,../reference/api/pandas.Panel.sem -generated/pandas.Panel.set_axis,../reference/api/pandas.Panel.set_axis -generated/pandas.Panel.set_value,../reference/api/pandas.Panel.set_value -generated/pandas.Panel.shape,../reference/api/pandas.Panel.shape -generated/pandas.Panel.shift,../reference/api/pandas.Panel.shift -generated/pandas.Panel.size,../reference/api/pandas.Panel.size -generated/pandas.Panel.skew,../reference/api/pandas.Panel.skew -generated/pandas.Panel.slice_shift,../reference/api/pandas.Panel.slice_shift -generated/pandas.Panel.sort_index,../reference/api/pandas.Panel.sort_index -generated/pandas.Panel.sort_values,../reference/api/pandas.Panel.sort_values -generated/pandas.Panel.squeeze,../reference/api/pandas.Panel.squeeze -generated/pandas.Panel.std,../reference/api/pandas.Panel.std -generated/pandas.Panel.sub,../reference/api/pandas.Panel.sub -generated/pandas.Panel.subtract,../reference/api/pandas.Panel.subtract -generated/pandas.Panel.sum,../reference/api/pandas.Panel.sum -generated/pandas.Panel.swapaxes,../reference/api/pandas.Panel.swapaxes -generated/pandas.Panel.swaplevel,../reference/api/pandas.Panel.swaplevel -generated/pandas.Panel.tail,../reference/api/pandas.Panel.tail -generated/pandas.Panel.take,../reference/api/pandas.Panel.take -generated/pandas.Panel.timetuple,../reference/api/pandas.Panel.timetuple -generated/pandas.Panel.to_clipboard,../reference/api/pandas.Panel.to_clipboard -generated/pandas.Panel.to_csv,../reference/api/pandas.Panel.to_csv -generated/pandas.Panel.to_dense,../reference/api/pandas.Panel.to_dense -generated/pandas.Panel.to_excel,../reference/api/pandas.Panel.to_excel -generated/pandas.Panel.to_frame,../reference/api/pandas.Panel.to_frame -generated/pandas.Panel.to_hdf,../reference/api/pandas.Panel.to_hdf -generated/pandas.Panel.to_json,../reference/api/pandas.Panel.to_json -generated/pandas.Panel.to_latex,../reference/api/pandas.Panel.to_latex -generated/pandas.Panel.to_msgpack,../reference/api/pandas.Panel.to_msgpack -generated/pandas.Panel.to_pickle,../reference/api/pandas.Panel.to_pickle -generated/pandas.Panel.to_sparse,../reference/api/pandas.Panel.to_sparse -generated/pandas.Panel.to_sql,../reference/api/pandas.Panel.to_sql -generated/pandas.Panel.to_xarray,../reference/api/pandas.Panel.to_xarray -generated/pandas.Panel.transform,../reference/api/pandas.Panel.transform -generated/pandas.Panel.transpose,../reference/api/pandas.Panel.transpose -generated/pandas.Panel.truediv,../reference/api/pandas.Panel.truediv -generated/pandas.Panel.truncate,../reference/api/pandas.Panel.truncate -generated/pandas.Panel.tshift,../reference/api/pandas.Panel.tshift -generated/pandas.Panel.tz_convert,../reference/api/pandas.Panel.tz_convert -generated/pandas.Panel.tz_localize,../reference/api/pandas.Panel.tz_localize -generated/pandas.Panel.update,../reference/api/pandas.Panel.update -generated/pandas.Panel.values,../reference/api/pandas.Panel.values -generated/pandas.Panel.var,../reference/api/pandas.Panel.var -generated/pandas.Panel.where,../reference/api/pandas.Panel.where -generated/pandas.Panel.xs,../reference/api/pandas.Panel.xs generated/pandas.Period.asfreq,../reference/api/pandas.Period.asfreq generated/pandas.Period.day,../reference/api/pandas.Period.day generated/pandas.Period.dayofweek,../reference/api/pandas.Period.dayofweek diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 2e9524fea89b17..944021ca0fcae8 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -9,7 +9,7 @@ including other versions of pandas. I/O and LZMA ~~~~~~~~~~~~ -Some users may unknowingly have an incomplete Python installation lacking the `lzma` module from the standard library. In this case, `import pandas` failed due to an `ImportError` (:issue: `27575`). +Some users may unknowingly have an incomplete Python installation lacking the `lzma` module from the standard library. In this case, `import pandas` failed due to an `ImportError` (:issue:`27575`). Pandas will now warn, rather than raising an `ImportError` if the `lzma` module is not present. Any subsequent attempt to use `lzma` methods will raise a `RuntimeError`. A possible fix for the lack of the `lzma` module is to ensure you have the necessary libraries and then re-install Python. For example, on MacOS installing Python with `pyenv` may lead to an incomplete Python installation due to unmet system dependencies at compilation time (like `xz`). Compilation will succeed, but Python might fail at run time. The issue can be solved by installing the necessary dependencies and then re-installing Python. diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 05aba65888c557..7ffd3a071aa59a 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -407,7 +407,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Removed the previously deprecated :meth:`Index.summary` (:issue:`18217`) - Removed the previously deprecated "fastpath" keyword from the :class:`Index` constructor (:issue:`23110`) - Removed the previously deprecated :meth:`Series.get_value`, :meth:`Series.set_value`, :meth:`DataFrame.get_value`, :meth:`DataFrame.set_value` (:issue:`17739`) -- Changed the the default value of `inplace` in :meth:`DataFrame.set_index` and :meth:`Series.set_axis`. It now defaults to False (:issue:`27600`) +- Changed the the default value of `inplace` in :meth:`DataFrame.set_index` and :meth:`Series.set_axis`. It now defaults to ``False`` (:issue:`27600`) - Removed the previously deprecated :attr:`Series.cat.categorical`, :attr:`Series.cat.index`, :attr:`Series.cat.name` (:issue:`24751`) - Removed the previously deprecated "by" keyword from :meth:`DataFrame.sort_index`, use :meth:`DataFrame.sort_values` instead (:issue:`10726`) - Removed support for nested renaming in :meth:`DataFrame.aggregate`, :meth:`Series.aggregate`, :meth:`DataFrameGroupBy.aggregate`, :meth:`SeriesGroupBy.aggregate`, :meth:`Rolling.aggregate` (:issue:`18529`) @@ -455,7 +455,6 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Removed the previously deprecated :attr:`DatetimeIndex.offset` (:issue:`20730`) - Removed the previously deprecated :meth:`DatetimeIndex.asobject`, :meth:`TimedeltaIndex.asobject`, :meth:`PeriodIndex.asobject`, use ``astype(object)`` instead (:issue:`29801`) - Removed previously deprecated "order" argument from :func:`factorize` (:issue:`19751`) -- Removed previously deprecated "v" argument from :meth:`FrozenNDarray.searchsorted`, use "value" instead (:issue:`22672`) - :func:`read_stata` and :meth:`DataFrame.to_stata` no longer supports the "encoding" argument (:issue:`21400`) - In :func:`concat` the default value for ``sort`` has been changed from ``None`` to ``False`` (:issue:`20613`) - Removed previously deprecated "raise_conflict" argument from :meth:`DataFrame.update`, use "errors" instead (:issue:`23585`) @@ -493,7 +492,7 @@ Bug fixes Categorical ^^^^^^^^^^^ -- Added test to assert the :func:`fillna` raises the correct ValueError message when the value isn't a value from categories (:issue:`13628`) +- Added test to assert the :func:`fillna` raises the correct ``ValueError`` message when the value isn't a value from categories (:issue:`13628`) - Bug in :meth:`Categorical.astype` where ``NaN`` values were handled incorrectly when casting to int (:issue:`28406`) - :meth:`DataFrame.reindex` with a :class:`CategoricalIndex` would fail when the targets contained duplicates, and wouldn't fail if the source contained duplicates (:issue:`28107`) - Bug in :meth:`Categorical.astype` not allowing for casting to extension dtypes (:issue:`28668`) @@ -503,7 +502,7 @@ Categorical - Changed the error message in :meth:`Categorical.remove_categories` to always show the invalid removals as a set (:issue:`28669`) - Using date accessors on a categorical dtyped :class:`Series` of datetimes was not returning an object of the same type as if one used the :meth:`.str.` / :meth:`.dt.` on a :class:`Series` of that type. E.g. when accessing :meth:`Series.dt.tz_localize` on a - :class:`Categorical` with duplicate entries, the accessor was skipping duplicates (:issue: `27952`) + :class:`Categorical` with duplicate entries, the accessor was skipping duplicates (:issue:`27952`) - Bug in :meth:`DataFrame.replace` and :meth:`Series.replace` that would give incorrect results on categorical data (:issue:`26988`) @@ -541,7 +540,7 @@ Timezones Numeric ^^^^^^^ - Bug in :meth:`DataFrame.quantile` with zero-column :class:`DataFrame` incorrectly raising (:issue:`23925`) -- :class:`DataFrame` flex inequality comparisons methods (:meth:`DataFrame.lt`, :meth:`DataFrame.le`, :meth:`DataFrame.gt`, :meth: `DataFrame.ge`) with object-dtype and ``complex`` entries failing to raise ``TypeError`` like their :class:`Series` counterparts (:issue:`28079`) +- :class:`DataFrame` flex inequality comparisons methods (:meth:`DataFrame.lt`, :meth:`DataFrame.le`, :meth:`DataFrame.gt`, :meth:`DataFrame.ge`) with object-dtype and ``complex`` entries failing to raise ``TypeError`` like their :class:`Series` counterparts (:issue:`28079`) - Bug in :class:`DataFrame` logical operations (`&`, `|`, `^`) not matching :class:`Series` behavior by filling NA values (:issue:`28741`) - Bug in :meth:`DataFrame.interpolate` where specifying axis by name references variable before it is assigned (:issue:`29142`) - Bug in :meth:`Series.var` not computing the right value with a nullable integer dtype series not passing through ddof argument (:issue:`29128`) @@ -638,21 +637,22 @@ Groupby/resample/rolling - - Bug in :meth:`DataFrame.groupby` with multiple groups where an ``IndexError`` would be raised if any group contained all NA values (:issue:`20519`) - Bug in :meth:`pandas.core.resample.Resampler.size` and :meth:`pandas.core.resample.Resampler.count` returning wrong dtype when used with an empty series or dataframe (:issue:`28427`) -- Bug in :meth:`DataFrame.rolling` not allowing for rolling over datetimes when ``axis=1`` (:issue: `28192`) -- Bug in :meth:`DataFrame.rolling` not allowing rolling over multi-index levels (:issue: `15584`). -- Bug in :meth:`DataFrame.rolling` not allowing rolling on monotonic decreasing time indexes (:issue: `19248`). +- Bug in :meth:`DataFrame.rolling` not allowing for rolling over datetimes when ``axis=1`` (:issue:`28192`) +- Bug in :meth:`DataFrame.rolling` not allowing rolling over multi-index levels (:issue:`15584`). +- Bug in :meth:`DataFrame.rolling` not allowing rolling on monotonic decreasing time indexes (:issue:`19248`). - Bug in :meth:`DataFrame.groupby` not offering selection by column name when ``axis=1`` (:issue:`27614`) - Bug in :meth:`DataFrameGroupby.agg` not able to use lambda function with named aggregation (:issue:`27519`) - Bug in :meth:`DataFrame.groupby` losing column name information when grouping by a categorical column (:issue:`28787`) - Bug in :meth:`DataFrameGroupBy.rolling().quantile()` ignoring ``interpolation`` keyword argument (:issue:`28779`) - Bug in :meth:`DataFrame.groupby` where ``any``, ``all``, ``nunique`` and transform functions would incorrectly handle duplicate column labels (:issue:`21668`) +- Bug in :meth:`DataFrameGroupBy.agg` with timezone-aware datetime64 column incorrectly casting results to the original dtype (:issue:`29641`) - Reshaping ^^^^^^^^^ - Bug in :meth:`DataFrame.apply` that caused incorrect output with empty :class:`DataFrame` (:issue:`28202`, :issue:`21959`) -- Bug in :meth:`DataFrame.stack` not handling non-unique indexes correctly when creating MultiIndex (:issue: `28301`) +- Bug in :meth:`DataFrame.stack` not handling non-unique indexes correctly when creating MultiIndex (:issue:`28301`) - Bug in :meth:`pivot_table` not returning correct type ``float`` when ``margins=True`` and ``aggfunc='mean'`` (:issue:`24893`) - Bug :func:`merge_asof` could not use :class:`datetime.timedelta` for ``tolerance`` kwarg (:issue:`28098`) - Bug in :func:`merge`, did not append suffixes correctly with MultiIndex (:issue:`28518`) @@ -685,7 +685,7 @@ Other - :meth:`DataFrame.to_csv` and :meth:`Series.to_csv` now support dicts as ``compression`` argument with key ``'method'`` being the compression method and others as additional compression options when the compression method is ``'zip'``. (:issue:`26023`) - Bug in :meth:`Series.diff` where a boolean series would incorrectly raise a ``TypeError`` (:issue:`17294`) - :meth:`Series.append` will no longer raise a ``TypeError`` when passed a tuple of ``Series`` (:issue:`28410`) -- :meth:`SeriesGroupBy.value_counts` will be able to handle the case even when the :class:`Grouper` makes empty groups (:issue: 28479) +- :meth:`SeriesGroupBy.value_counts` will be able to handle the case even when the :class:`Grouper` makes empty groups (:issue:`28479`) - Fix corrupted error message when calling ``pandas.libs._json.encode()`` on a 0d array (:issue:`18878`) - Bug in :meth:`DataFrame.append` that raised ``IndexError`` when appending with empty list (:issue:`28769`) - Fix :class:`AbstractHolidayCalendar` to return correct results for diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index dae16dfdef01fc..29835a9bd0c000 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -4010,7 +4010,7 @@ def write(self, **kwargs): to): write out the indices and the values using _write_array (e.g. a CArray) create an indexing table so that we can search """ - raise NotImplementedError("WORKTable needs to implement write") + raise NotImplementedError("WORMTable needs to implement write") class AppendableTable(Table): @@ -4033,7 +4033,7 @@ def write( dropna=False, nan_rep=None, data_columns=None, - errors="strict", # not used hre, but passed to super + errors="strict", # not used here, but passed to super ): if not append and self.is_exists: @@ -4067,9 +4067,6 @@ def write( # create the table self._handle.create_table(self.group, **options) - else: - pass - # table = self.table # update my info self.attrs.info = self.info