We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a034332 commit 0b0a850Copy full SHA for 0b0a850
doc/source/whatsnew/v0.23.0.rst
@@ -20,37 +20,3 @@ What's new in 0.23.0 (May 15, 2018)
20
new_df = pd.read_json('test.json', orient='table')
21
new_df
22
new_df.dtypes
23
-
24
-.. ipython:: python
25
- :suppress:
26
27
- import os
28
- os.remove('test.json')
29
30
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
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