pwwang / datar

A Grammar of Data Manipulation in python

Home Page:https://pwwang.github.io/datar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warning

VitoFanelli opened this issue · comments

commented

Question about datar

Hello,

why I get two warnings when I run this code?

from datar.data import iris
from datar import f
from datar.dplyr import group_by, summarise

iris >> group_by(f.Species) >> summarise(f.Sepal_Length.mean())

C:\Users\vito\AppData\Local\Programs\Python\PYTHON1\Lib\site-packages\pipda\utils.py:89: PipeableCallCheckWarning: Failed to detect AST node calling group_by, assuming a piping call.
warnings.warn(
C:\Users\vito\AppData\Local\Programs\Python\PYTHON
1\Lib\site-packages\pipda\utils.py:89: PipeableCallCheckWarning: Failed to detect AST node calling summarise, assuming a piping call.
warnings.warn(
Species Sepal_Length

0 setosa 5.006
1 versicolor 5.936
2 virginica 6.588

Thank you.

Try to avoid running with raw python REPL.

See also: #196 (comment)