The first thing I do once I import new data (as a pandas dataframe) is to
.head() it, .describe() it, and then kick around a few specific stats according
to what I see.
But I'm not satisfied with .describe(). Amongst others, non-numerical columns
are ignored, and off-the-shelf stats will be com
On May 1, 2:28 pm, Arnaud Delobelle wrote:
> Ross writes:
> > If I have a list of tuples a = [(1,2), (3,4), (5,6)], and I want to
> > return a new list of each individual element in these tuples, I can do
> > it with a nested for loop but when I try to do it using the list
> > comprehension b = [
On Dec 2, 10:09 pm, TP <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> >>> c=[(5,3), (6,8)]
>
> From c, I want to obtain a list with 5,3,6, and 8, in any order.
> I do this:
>
> >>> [i for (i,j) in c] + [ j for (i,j) in c]
>
> [5, 6, 3, 8]
>
> Is there a quicker way to do this?
>
>>> c = [(5, 3), (
Maybe this module would work fine:
http://docs.python.org/lib/module-cmd.html
--
Angel
--
http://mail.python.org/mailman/listinfo/python-list
Gerhard Häring wrote:
> This is of course OS-specific. On Linux, you can parse the proc
> filesystem:
>
> >>> open("/proc/%i/stat" % os.getpid()).read().split()[39]
>
> You can use the "taskset" utility to query or set CPU affinity on Linux.
>
It is going to be in Linux (mainly) I was thinking
Hi,
I am running a program using Parallel Python and I wonder if there is a
way/module to know in which CPU/core the process is running in. Is that
possible?
Ángel
--
http://mail.python.org/mailman/listinfo/python-list
ss tables.
(Examples of odbc connection: mxODBC or the odbc provided by win32all)
HTH,
Thor Arne Johansen
Technical Director
Ibas AS
--
http://mail.python.org/mailman/listinfo/python-list