This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import pandas to convert list to data frame | |
import pandas as pd | |
import csv | |
# ... | |
df=pd.DataFrame(A,columns=['PageNo']) | |
df['No']=B | |
df['Name']=C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import urllib2 library 用作 query 網頁 | |
import urllib2 | |
# import Beautiful soup 用作 parse 回傳頁面的 html | |
from bs4 import BeautifulSoup | |
#import pandas to convert list to data frame | |
import pandas as pd | |
import csv |
OlderNewer