Skip to content

Commit 835a8c3

Browse files
committed
speiAll_final.csv: getting rid of useless NA lines
1 parent 97a1a46 commit 835a8c3

File tree

2 files changed

+223
-234
lines changed

2 files changed

+223
-234
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def write_city_timeseries_on_xlsxs(df_cities_of_interest, df_nearest_measurement
160160
DF_DATAS = pd.read_excel('São João da Ponte_revisado_final.xlsx')
161161

162162
# Create a dataframe to hold all SPEI measurements together with their geographical coordinates:
163-
df_SPEI = pd.read_csv("speiAll_final.csv",delimiter=';').iloc[11:].reset_index(drop=True)
163+
df_SPEI = pd.read_csv("speiAll_final.csv",delimiter=';').reset_index(drop=True)
164164
df_SPEI.columns = [convert_coordinates_to_negative(col) for col in df_SPEI.columns]
165165

166166
df_cities_of_interest = define_cities_of_interest('cidades.json')

speiAll_final.csv

Lines changed: 222 additions & 233 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)