diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst index 0086cb0f94747..3c6572229802d 100644 --- a/doc/source/dsintro.rst +++ b/doc/source/dsintro.rst @@ -979,6 +979,7 @@ Convert to a MultiIndex DataFrame Alternatively, one can convert to an xarray ``DataArray``. .. ipython:: python + :okwarning: p.to_xarray() diff --git a/doc/source/io.rst b/doc/source/io.rst index f4676f3ad964e..2b3d2895333d3 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -4487,6 +4487,7 @@ See the `Full Documentation `__ Write to a feather file. .. ipython:: python + :okwarning: df.to_feather('example.feather') diff --git a/doc/source/whatsnew/v0.13.0.txt b/doc/source/whatsnew/v0.13.0.txt index 118632cc2c0ee..3347b05a5df37 100644 --- a/doc/source/whatsnew/v0.13.0.txt +++ b/doc/source/whatsnew/v0.13.0.txt @@ -357,11 +357,11 @@ HDFStore API Changes .. ipython:: python path = 'test.h5' - df = DataFrame(randn(10,2)) + df = pd.DataFrame(np.random.randn(10,2)) df.to_hdf(path,'df_table',format='table') df.to_hdf(path,'df_table2',append=True) df.to_hdf(path,'df_fixed') - with get_store(path) as store: + with pd.HDFStore(path) as store: print(store) .. ipython:: python