Skip to content

Commit 3cc50d8

Browse files
committed
Update context.py
1 parent a4cce02 commit 3cc50d8

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

dashipy/dashipy/demo/context.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44

55
class Context:
66
def __init__(self):
7-
self.datasets= {0: pd.DataFrame(({'a': 'A', 'b': 28},
8-
{'a': 'B', 'b': 55},
9-
{'a': 'C', 'b': 43},
10-
{'a': 'D', 'b': 91},
11-
{'a': 'E', 'b': 81})),
12-
1: pd.DataFrame(({'a': 'V', 'b': 99},
13-
{'a': 'W', 'b': 1},
14-
{'a': 'X', 'b': 7},
15-
{'a': 'Y', 'b': 43},
16-
{'a': 'Z', 'b': 49}))
17-
}
7+
self.datasets= {
8+
0: pd.DataFrame({
9+
'a': ['A', 'B', 'C', 'D', 'E'],
10+
'b': [28, 55, 43, 91, 81]
11+
}),
12+
1: pd.DataFrame({
13+
'a': ['V', 'W', 'X', 'Y', 'Z'],
14+
'b': [99, 1, 7, 43, 49]
15+
})
16+
}

0 commit comments

Comments
 (0)