Skip to content

Commit 7037732

Browse files
committed
DOC: whatsnew edits
1 parent 9cbc179 commit 7037732

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/source/whatsnew/v0.17.1.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ Enhancements
2929

3030
- Option to ``.info()`` and ``.memory_usage()`` to provide for deep introspection of memory consumption. Note that this can be expensive to compute and therefore is an optional parameter. (:issue:``11595``)
3131

32-
.. ipython:: python
32+
.. ipython:: python
3333

34-
df = DataFrame({'A' : ['foo']*1000})
35-
df['B'] = df['A'].astype('category')
34+
df = DataFrame({'A' : ['foo']*1000})
35+
df['B'] = df['A'].astype('category')
3636

37-
# shows the '+' as we have object dtypes
38-
df.info()
37+
# shows the '+' as we have object dtypes
38+
df.info()
3939

40-
# we have an accurate memory assessment (but can be expensive to compute this)
41-
df.info(memory_usage='deep')
40+
# we have an accurate memory assessment (but can be expensive to compute this)
41+
df.info(memory_usage='deep')
4242

4343
- ``Index`` now has a ``fillna`` method (:issue:`10089`)
4444

45-
.. ipython:: python
45+
.. ipython:: python
4646

47-
pd.Index([1, np.nan, 3]).fillna(2)
47+
pd.Index([1, np.nan, 3]).fillna(2)
4848

4949
.. _whatsnew_0171.api:
5050

@@ -95,7 +95,7 @@ Bug Fixes
9595
~~~~~~~~~
9696

9797
- Incorrectly distributed .c file in the build on ``PyPi`` when reading a csv of floats and passing ``na_values=<a scalar>`` would show an exception (:issue:`11374`)
98-
- Bug in ``.to_latex()`` output broken when the index has a name (:issue: `10660`)
98+
- Bug in ``.to_latex()`` output broken when the index has a name (:issue:`10660`)
9999
- Bug in ``HDFStore.append`` with strings whose encoded length exceded the max unencoded length (:issue:`11234`)
100100
- Bug in merging ``datetime64[ns, tz]`` dtypes (:issue:`11405`)
101101
- Bug in ``HDFStore.select`` when comparing with a numpy scalar in a where clause (:issue:`11283`)

0 commit comments

Comments
 (0)