Skip to content

Commit 66140d2

Browse files
committed
whitespace errors in docs fixed
update RELEAST.rst about comparison ops in Panel
1 parent 2413f37 commit 66140d2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

RELEASE.rst

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ pandas 0.10.0
9090
- Add `line_terminator` option to DataFrame.to_csv (#2383)
9191
- added implementation of str(x)/unicode(x)/bytes(x) to major pandas data
9292
structures, which should do the right thing on both py2.x and py3.x. (#2224)
93+
- Added boolean comparison operators to Panel
9394

9495
**Bug fixes**
9596

doc/source/dsintro.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,8 @@ From 4D ndarray with optional axis labels
825825

826826
.. ipython:: python
827827
828-
p4d = Panel4D(randn(2, 2, 5, 4),
829-
labels=['Label1','Label2'],
828+
p4d = Panel4D(randn(2, 2, 5, 4),
829+
labels=['Label1','Label2'],
830830
items=['Item1', 'Item2'],
831831
major_axis=date_range('1/1/2000', periods=5),
832832
minor_axis=['A', 'B', 'C', 'D'])
@@ -842,7 +842,7 @@ From dict of Panel objects
842842
'Label2' : Panel({ 'Item2' : DataFrame(randn(4, 2)) }) }
843843
Panel4D(data)
844844
845-
Note that the values in the dict need only be **convertible to Panels**.
845+
Note that the values in the dict need only be **convertible to Panels**.
846846
Thus, they can be any of the other valid inputs to Panel as per above.
847847

848848
Slicing
@@ -897,9 +897,9 @@ Here we slice to a Panel4D.
897897
898898
from pandas.core import panelnd
899899
Panel5D = panelnd.create_nd_panel_factory(
900-
klass_name = 'Panel5D',
901-
axis_orders = [ 'cool', 'labels','items','major_axis','minor_axis'],
902-
axis_slices = { 'labels' : 'labels', 'items' : 'items',
900+
klass_name = 'Panel5D',
901+
axis_orders = [ 'cool', 'labels','items','major_axis','minor_axis'],
902+
axis_slices = { 'labels' : 'labels', 'items' : 'items',
903903
'major_axis' : 'major_axis', 'minor_axis' : 'minor_axis' },
904904
slicer = Panel4D,
905905
axis_aliases = { 'major' : 'major_axis', 'minor' : 'minor_axis' },

0 commit comments

Comments
 (0)