babypandas-dev / babypandas

Pandas data-analysis library with a restricted API
MIT License
8 stars 7 forks source link

Casting a babypandas Series to a list yields an empty list; can't np.mean a Series #24

Open surajrampure opened 1 year ago

surajrampure commented 1 year ago

For instance:

>>> df = bpd.DataFrame().assign(x=[1, 2, 3])
>>> list(df.get("x"))
[]

Should be fixed.

Additionally, we can't right now use np.mean on a Series (it errors) but we should be able to.

surajrampure commented 1 year ago

Additionally: "something" in Series it comes up False even when "something" in np.array(Series) is true