Skip to content

Commit 7743b52

Browse files
authored
Merge pull request #62 from Caltech-IPAC/raen/patch/euclid/copy-on-write
Euclid: Use copy-on-write to avoid SettingWithCopyWarning
2 parents 0875467 + ae4802c commit 7743b52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/euclid_access/1_Euclid_intro_MER_images.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ from astropy import units as u
8484
8585
import pyvo as vo
8686
import sep
87+
88+
# Copy-on-write is more performant and avoids unexpected modifications of the original DataFrame.
89+
pd.options.mode.copy_on_write = True
8790
```
8891

8992
## 1. Search for multiwavelength Euclid Q1 MER mosaics that cover the star HD 168151

0 commit comments

Comments
 (0)