-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdummycode.txt
39 lines (38 loc) · 1.2 KB
/
dummycode.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# for subchild in child:
# feeddata=subchild.tag +" "+ str(subchild.text)
# # print(feeddata)
# feeds.append(feeddata)
# for likeDislike in child.find('likeDislike'):
# likedata=likeDislike.tag +" "+ str(likeDislike.text)
# like.append(likedata)
# for multimedia in child.find('multiMedia'):
# multidata=str(multimedia.tag) +" "+ str(multimedia.text)
# multi.append(multidata)
# for i in feeds:
# n=i.split(' ')
# feedscol.append(n[0])
# feedsvalue.append(n[1])
# feedsvaluelist=[feedsvalue]
# feedsdataframe=pd.DataFrame(feedsvalue)
# print(feedsdataframe)
#
#
# for i in like:
# n=i.split(' ')
# likecol.append(n[0])
# likevalue.append(n[1])
# likevaluelist=[likevalue]
# likedataframe=pd.DataFrame(likevaluelist, columns=likecol)
# # print(likedataframe)
#
#
# for i in multi:
# n=i.split(' ')
# multicol.append(n[0])
# multivalue.append(n[1])
# multivaluelist=[multivalue]
# multimediadataframe=pd.DataFrame(multivaluelist, columns=multicol)
# # print(multimediadataframe)
#
# joineddataframe=pd.concat([feedsdataframe, likedataframe, multimediadataframe], axis=1)
# # print(joineddataframe)