Last active
June 18, 2019 16:14
-
-
Save codeboy5/d0f7491794802138e97f77b6c47ccb25 to your computer and use it in GitHub Desktop.
Extract Wifi Data
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 numpy as np | |
import pandas as pd | |
myList = [] | |
for line in open("./02Wifi.txt"): | |
row = line.split(",") | |
sample = [row[0], row[1], float(row[4])] | |
myList.append(sample) | |
myList = np.array(myList) | |
pd.DataFrame(myList, columns=["Name", "BSSID", "RSSI"]).to_csv( | |
"02Wifi.csv") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment