Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

df.head(n) 对于分区列的值均解析为 NoneType #13

Closed
Cheonsoon opened this issue Jan 10, 2017 · 6 comments
Closed

df.head(n) 对于分区列的值均解析为 NoneType #13

Cheonsoon opened this issue Jan 10, 2017 · 6 comments
Labels

Comments

@Cheonsoon
Copy link

直接对分区表执行 df.head(n),相应分区列debug发现其类型解析正确,但是值均解析为 NoneType;
df._types ->
qq20170110-0
df._values ->
qq20170110-1

如果使用 df['xxx', '分区列'].head(n),则可解析出相应列和值。

@qinxuye
Copy link
Contributor

qinxuye commented Jan 11, 2017

OK,这个问题后续会修复。

@qinxuye qinxuye added the bug label Jan 11, 2017
@Cheonsoon
Copy link
Author

嗯嗯嗯,好哒好哒,感谢~

@Cheonsoon
Copy link
Author

老板老板,还发现个问题,就是使用pandas后端作本地调试时,测试用例同上,无论是否显示标明分区列,其值均为None。
继而导致 df = df.groupby('分区列').agg(df.profit.min(), df.profit.max()) 在pandas后端下返回为 'Empty DataFrame' 【这个也许是我使用上的问题,还望指教~】

@qinxuye
Copy link
Contributor

qinxuye commented Jan 11, 2017

OK,这个我们会一起看下

@qinxuye
Copy link
Contributor

qinxuye commented Jan 25, 2017

问题已经修复,pip install -U pyodps 更新

@Cheonsoon
Copy link
Author

哦哦哦哦哦,好的好的。O(∩_∩)O谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants