Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vals = [
- """[{"did":{"id":"1","num":1},"NId":"a1,b1,c1","Att":null,"isnull":false,"number":"M90",
- "label":[{"title":"Dear","Info":{"Id":null,"id2":2,"Name":"x"}},{"title":"Dear",
- "Info":{"Id":null,"id2":2,"Name":"x"}}],"codes":[],"rule":null},
- {"did":{"id":"2","num":1},"NId":"a1,b1,c1","Att":null,"isnull":false,"number":"M90",
- "label":[{"title":"Dear","Info":{"Id":null,"id2":2,"Name":"x"}},{"title":"Dear",
- "Info":{"Id":null,"id2":2,"Name":"x"}}],"codes":[],"rule":null}
- ]""",
- """[{"did":{"id":"3","num":1},"NId":"a1,b1,c1","Att":null,"isnull":false,"number":"M90",
- "label":[{"title":"Dear","Info":{"Id":null,"id2":2,"Name":"x"}},{"title":"Dear",
- "Info":{"Id":null,"id2":2,"Name":"x"}}],"codes":[],"rule":null}
- ]""",
- ]
- df = pd.DataFrame(
- [{
- 'id': 292,
- 'Number': 'C',
- 'Type': 1,
- 'Class': 2,
- 'Name': 'A',
- 'datiles': vals[0],
- }, {
- 'id': 293,
- 'Number': 'C',
- 'Type': 1,
- 'Class': 2,
- 'Name': 'A',
- 'datiles': vals[1],
- }])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement