Skip to content

Commit d47ebd1

Browse files
committed
Add missing whitespace for style
1 parent 42c8cc1 commit d47ebd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ to 'green' when the second column has 'Z'. You can do the following:
11721172

11731173
.. ipython:: python
11741174
1175-
df = pd.DataFrame({'col1':list('ABBC'), 'col2':list('ZZXY')})
1175+
df = pd.DataFrame({'col1': list('ABBC'), 'col2': list('ZZXY')})
11761176
df['color'] = np.where(df['col2'] == 'Z', 'green', 'red')
11771177
df
11781178

0 commit comments

Comments
 (0)