質問編集履歴
1
data frame名の修正。自己解決法の記入
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```python
|
6
6
|
|
7
|
-
df
|
7
|
+
df.loc[0,"# of TAB"]
|
8
8
|
|
9
9
|
output:'100'
|
10
10
|
|
@@ -14,13 +14,13 @@
|
|
14
14
|
|
15
15
|
```python
|
16
16
|
|
17
|
-
df
|
17
|
+
df["# of TAB"].dtype
|
18
18
|
|
19
19
|
ouput:dtype('O')
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
df
|
23
|
+
df["# of TAB"].astype(float)
|
24
24
|
|
25
25
|
ouput: could not convert string to float: '500TSE'
|
26
26
|
|