Skip to content

Commit b402d6a

Browse files
committed
dile should be saved in the data directory
1 parent ab48d5e commit b402d6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorials/euclid/euclid_clusters_tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ We begin by loading the Euclid Q1 cluster catalog. The catalog contains 35 galax
8080
# Load the Euclid Q1 cluster catalog (https://arxiv.org/abs/2503.19196)
8181
url = "https://ar5iv.labs.arxiv.org/html/2503.19196"
8282
fname = "euclid_q1_clusters.csv"
83+
download_path = "data"
8384
8485
# Read all tables from the arXiv HTML rendering
8586
dfs = pd.read_html(url)
@@ -108,7 +109,7 @@ df = df.rename(columns={
108109
})
109110
110111
# Overwrite (or create) the cleaned CSV for downstream use
111-
df.to_csv(fname, index=False)
112+
df.to_csv(os.path.join(download_path, fname), index=False)
112113
113114
print(f"Dataset shape: {df.shape}")
114115
df.head(3)

0 commit comments

Comments
 (0)