Re: What data types does matplotlib pyplot take?

2018-06-15 Thread Peter Pearson
On Wed, 13 Jun 2018 12:53:57 -0400, C W  wrote:
> Hi everyone,
>
> I'm curious what data types pyplot takes. It seems that it can take numpy
> series, pandas series, and possibly pandas dataframe? How many people data
> types are out there? Is that true for all functions in like hist(), bar(),
> line(), etc?

I regret that this might seem less than helpful, but someone
should point out that an enumeration beginning "This package
works with the following data types" would be antithetical to
Python's "duck-typing" philosophy.  The important thing is not
an object's type, but whether the object has the attributes and
methods required.

-- 
To email me, substitute nowhere->runbox, invalid->com.
-- 
https://mail.python.org/mailman/listinfo/python-list


What data types does matplotlib pyplot take?

2018-06-13 Thread C W
Hi everyone,

I'm curious what data types pyplot takes. It seems that it can take numpy
series, pandas series, and possibly pandas dataframe? How many people data
types are out there? Is that true for all functions in like hist(), bar(),
line(), etc?

Is there an official documentation that lists this?

I have seen this official documentation:
https://pandas.pydata.org/pandas-docs/stable/visualization.html

But it does not specify data types. I would appreciate it if someone can
point it out.

Thank you!
-- 
https://mail.python.org/mailman/listinfo/python-list