Skip to content

Commit

Permalink
cleaned code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozodbek47 committed Jan 21, 2024
1 parent a4dffc8 commit 3da7f7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion exercises/exercise4.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

# Reshaping the data
df = pd.read_csv(csv_file_name, sep=';', decimal=',', usecols=range(11), names=["Geraet", "Hersteller", "Model", "Monat", "Temperatur in °C (DWD)", "Latitude (WGS84)","Longitude (WGS84)","Verschleierung (m)","Aufenthaltsdauer im Freien (ms)", "Batterietemperatur in °C", "Geraet aktiv"], header=0)
df.to_csv('data/data0.csv')

selected_columns = ["Geraet", "Hersteller", "Model", "Monat", "Temperatur in °C (DWD)", "Batterietemperatur in °C", "Geraet aktiv"]
df = df[selected_columns]
Expand Down

0 comments on commit 3da7f7b

Please sign in to comment.