質問編集履歴
2
コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,6 +3,34 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
```jupyterlab
|
6
|
+
|
7
|
+
import pandas as pd
|
8
|
+
|
9
|
+
↓
|
10
|
+
|
11
|
+
import os
|
12
|
+
|
13
|
+
↓
|
14
|
+
|
15
|
+
path = os.getcwd()
|
16
|
+
|
17
|
+
↓
|
18
|
+
|
19
|
+
pd.set_option('display.max_columns', None)
|
20
|
+
|
21
|
+
pd.set_option('display.max_rows', 10)
|
22
|
+
|
23
|
+
↓
|
24
|
+
|
25
|
+
df = pd.read_excel('sample.xlsx',sheet_name='実績管理表')
|
26
|
+
|
27
|
+
df
|
28
|
+
|
29
|
+
↓
|
30
|
+
|
31
|
+
売上日(略...)
|
32
|
+
|
33
|
+
↓
|
6
34
|
|
7
35
|
df.sort_values(by='売上金額(円)')
|
8
36
|
|
1
コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```jupyterlab
|
6
6
|
|
7
|
-
df.sort_valus(by='売上金額(円)')
|
7
|
+
df.sort_values(by='売上金額(円)')
|
8
8
|
|
9
9
|
↓
|
10
10
|
|