Skip to content

Commit 0b0a850

Browse files
committed
Debug
1 parent a034332 commit 0b0a850

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

doc/source/whatsnew/v0.23.0.rst

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,3 @@ What's new in 0.23.0 (May 15, 2018)
2020
new_df = pd.read_json('test.json', orient='table')
2121
new_df
2222
new_df.dtypes
23-
24-
.. ipython:: python
25-
:suppress:
26-
27-
import os
28-
os.remove('test.json')
29-
30-
.. ipython:: python
31-
32-
df = pd.DataFrame({'A': [1, 2, 3]})
33-
df
34-
df.assign(B=df.A, C=lambda x: x['A'] + x['B'])
35-
36-
.. ipython:: python
37-
38-
df.assign(A=df.A + 1, C=lambda df: df.A * -1)
39-
40-
.. ipython:: python
41-
42-
left_index = pd.Index(['K0', 'K0', 'K1', 'K2'], name='key1')
43-
44-
left = pd.DataFrame({'A': ['A0', 'A1', 'A2', 'A3'],
45-
'B': ['B0', 'B1', 'B2', 'B3'],
46-
'key2': ['K0', 'K1', 'K0', 'K1']},
47-
index=left_index)
48-
49-
right_index = pd.Index(['K0', 'K1', 'K2', 'K2'], name='key1')
50-
51-
right = pd.DataFrame({'C': ['C0', 'C1', 'C2', 'C3'],
52-
'D': ['D0', 'D1', 'D2', 'D3'],
53-
'key2': ['K0', 'K0', 'K0', 'K1']},
54-
index=right_index)
55-
56-
left.merge(right, on=['key1', 'key2'])

0 commit comments

Comments
 (0)