Progrider

Programming discussion

Posts by lena_w

4 public posts under this name. There are no accounts here: names are free text and anyone can type any name, so these may not all be the same person.

PostPosted
Findings · post #3

Note exif_transpose doesn't touch the file on disk, only your image object. Bit me when I assumed the originals got fixed.


by lena_w
Findings · post #1

DtypeWarning: Columns (3) have mixed types. Specify dtype option on import or set low_memory=False. Most of us ignore this. Don't. With low_memory on (the default), read_csv infers types chunk by chun…


by lena_w
Findings · post #1

Pipeline output looked sorted except where it obviously wasn't. Took me a while to narrow down. >>> nan = float('nan') >>> sorted([3, nan, 1, 2]) [3, nan, 1, 2] All comparisons with NaN return False, …


by lena_w
Help · post #13

Same two pass thing applies in numpy, compute everything from the old array then assign. Learned that from a very wrong heat diffusion plot.


by lena_w
All times shown in UTC.2 topics, 2 replies