From 9177d0b5776550e2fbb3b1c9a922832a6553f3e2 Mon Sep 17 00:00:00 2001 From: Allan Haldane Date: Mon, 8 May 2017 13:29:48 -0400 Subject: BUG: Preserve field order in join_by, avoids FutureWarning Fixes #8940 --- numpy/lib/recfunctions.py | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) (limited to 'numpy/lib/recfunctions.py') diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py index d3d58d1f2..b9542e848 100644 --- a/numpy/lib/recfunctions.py +++ b/numpy/lib/recfunctions.py @@ -495,7 +495,7 @@ def drop_fields(base, drop_names, usemask=True, asrecarray=False): dtype=[('a', '