Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import requests
- url = f'https://mops.twse.com.tw/server-java/FileDownLoad?step=9&functionName=show_file&filePath=/home/html/nas/t21/sii/&fileName=t21sc03_109_7.csv'
- data = pd.read_csv(url)
- print(data.iloc[828])
- print(len(data))
- data.dropna(axis=1,how='all')
- print(data.iloc[828])
- print(len(data))
Add Comment
Please, Sign In to add comment