We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab377bf commit 0b297d8Copy full SHA for 0b297d8
tutorials/euclid/euclid_clusters_tutorial.md
@@ -80,6 +80,8 @@ We begin by loading the Euclid Q1 cluster catalog. The catalog contains 35 galax
80
# Load the Euclid Q1 cluster catalog (https://arxiv.org/abs/2503.19196)
81
url = "https://ar5iv.labs.arxiv.org/html/2503.19196"
82
fname = "euclid_q1_clusters.csv"
83
+download_path = "data"
84
+os.makedirs(download_path, exist_ok=True)
85
86
# Read all tables from the arXiv HTML rendering
87
dfs = pd.read_html(url)
@@ -108,7 +110,7 @@ df = df.rename(columns={
108
110
})
109
111
112
# Overwrite (or create) the cleaned CSV for downstream use
-df.to_csv(fname, index=False)
113
+df.to_csv(os.path.join(download_path, fname), index=False)
114
115
print(f"Dataset shape: {df.shape}")
116
df.head(3)
0 commit comments