From user-return-827-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Mon Nov 30 03:51:22 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 61B9018062B for ; Mon, 30 Nov 2020 04:51:22 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 9F9F646137 for ; Mon, 30 Nov 2020 03:51:21 +0000 (UTC) Received: (qmail 26411 invoked by uid 500); 30 Nov 2020 03:51:20 -0000 Mailing-List: contact user-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@arrow.apache.org Delivered-To: mailing list user@arrow.apache.org Received: (qmail 26400 invoked by uid 99); 30 Nov 2020 03:51:19 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2020 03:51:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id BBE40BFD6E for ; Mon, 30 Nov 2020 03:51:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id a435Q86cdI56 for ; Mon, 30 Nov 2020 03:51:18 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.42; helo=mail-ed1-f42.google.com; envelope-from=niranda.perera@gmail.com; receiver= Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 92845BCB78 for ; Mon, 30 Nov 2020 03:51:17 +0000 (UTC) Received: by mail-ed1-f42.google.com with SMTP id m16so13903183edr.3 for ; Sun, 29 Nov 2020 19:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=NhRc/3UF4RYWLlJTjYnuTmAHDI9NeVqUm+4oiV9vYfM=; b=d6fTtD2VCPpJLBpa0F3fPmjQmmP5hZcLPtPW5fagfsh6J7IWUP3Pei6D9IdMv/wvNj ZdAYDTVCZU6QZvK5RimV2W9OfBJhmfej6OhG2qH5BYDLhcl8MCHzNrby38HZfRq8GoQX bWJTQLGpd2IQcw2c4J1AWSQ5KOBXFymOP4PABRYKYDYGeCh6Bf4GNeF5JLOe6nYurf4w 1WBDriaVnIQaVnK9jyouijdLrb0Ylw7l20PrVRJoWrYUAVeFDe2siRvR+9m4LSK+Y+Bm NC1sJt8gGpchPd2kxnYKHQ37Rcv5VriNKUsJLtgdkXsjbpWp75wfj3Lq4qrT6wLfxVvi /UnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=NhRc/3UF4RYWLlJTjYnuTmAHDI9NeVqUm+4oiV9vYfM=; b=eg9AOTmJXqSIRo2Boj4qvGuewXRrUvDdklLYJFhLgN9jKL9YfSjD4d8zvQPhGBTo0B u+yxa5IzzlO6r99+lziKHZyYEdcVQFhzcPoI7uRymP3Er2KCYH8hwvWIaEchc9swl6RU qjUkmwrKQVenYttIapMGnunV6oVCpBi3hUnqCM4oSmgakIT/sESoVVWiJ3BTixukQEwG ga4GUaXuJ8XKain1JmnQaHzVTgBoA0fdzFJwGpJtcTy6Zi4PpA67KQWl0xSqprsv497V yHAqn00t70LcD34G0TO38R6OCMUtE2lRJIoPKefS8CRnXY27+pB42ZTYi4NKKKRt1aqM OeMQ== X-Gm-Message-State: AOAM532pM7Qs5vFNqXmi4Ys0P59bjBvoSZUsakp7idBEszNAP+SEwy0z wCZjyqfOHJAWVai1ZLffQliqsziXrKxDKhHN2+ldo4ekfIY= X-Google-Smtp-Source: ABdhPJy6QJ67EkYKvy1eQNCj6re7EFFadj0rt4wLySWJGC1bDJza51f8ViXcBMt0Nf06/+U79j5qszEDePuMZ4cBMDg= X-Received: by 2002:a05:6402:1115:: with SMTP id u21mr19853338edv.148.1606708270866; Sun, 29 Nov 2020 19:51:10 -0800 (PST) MIME-Version: 1.0 References: <318CA4F4-CB21-4966-B957-BC00F817294E@gmail.com> In-Reply-To: <318CA4F4-CB21-4966-B957-BC00F817294E@gmail.com> From: Niranda Perera Date: Sun, 29 Nov 2020 22:50:58 -0500 Message-ID: Subject: Re: take K random samples from an array/ table To: user@arrow.apache.org Content-Type: multipart/alternative; boundary="000000000000be28a405b54aebc2" --000000000000be28a405b54aebc2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I meant to say, from a c++ arrow::Array. On Sun, Nov 29, 2020 at 10:32 PM Dominick Augustine < dominickeaugustine@gmail.com> wrote: > > https://stackabuse.com/k-nearest-neighbors-algorithm-in-python-and-scikit= -learn/ > > I hope this can help! > > On Nov 29, 2020, at 22:17, Niranda Perera > wrote: > > =EF=BB=BF > Hi all, > > Is there a way to take K random samples from a column/ table? > > Best > -- > Niranda Perera > @n1r44 > +1 812 558 8884 / +94 71 554 8430 > https://www.linkedin.com/in/niranda > > --=20 Niranda Perera @n1r44 +1 812 558 8884 / +94 71 554 8430 https://www.linkedin.com/in/niranda --000000000000be28a405b54aebc2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I meant to say, from a c++ arrow::Array.

On Sun, Nov 2= 9, 2020 at 10:32 PM Dominick Augustine <dominickeaugustine@gmail.com> wrote:
I hope this can help!

On Nov 29, 2020, at 22:17, Niranda Perera <niranda.perera@gmai= l.com> wrote:

=EF=BB=BF
Hi all,

Is there a way to take K random samples from a column/ table?

Best
--
<= div dir=3D"ltr">
Niranda Perera
@n1r44
+1 812 558 8884 / +94 71 554 843= 0
=


--
Niranda Perera
+1 812 558 8884 / +94 71 554 8430
= --000000000000be28a405b54aebc2--