Add Series.dot method to dataframe module#7236
Conversation
b3977e0 to
2f1ee31
Compare
|
Thanks for opening this! I'll give you my opinionated answers :)
I think for this first PR it is ok to not accepst dask.arrays. It is a good idea though, to try to alert the user in a friendly error message if they do pass an array.
It can be done separately. It'll make this easier to review if it just does series. And then the dataframe PR will be straightforward.
I think all methods should accept a meta kwarg. |
|
I think I've addressed the above issues, thank you! I had a query about the |
It seems like |
I would expect this to coerce the result to float or raise an error. The reverse doesn't seem to work either - Nothing in the code ( |
|
The comment inside |
jsignell
left a comment
There was a problem hiding this comment.
Sorry I let this sit for a bit. I think it looks really nice now. I just have a few suggestions of how to improve the tests.
165e55b to
893f952
Compare
|
Checking CI |
|
Thanks for sticking with this @Madhu94! |
|
Thanks for your help @jsignell 🎉 🎉 |
|
I believe #1259 should not have been closed as a result of this since there were other methods to be implemented there. I'm sorry my first update wasn't clear. I'll be more careful. |
Ref: #1259
black dask/flake8 daskI had a few questions about how to attempt this so I am marking this
WIP._extract_metautility) assumed the operands were all either dask series or dask dataframes.metakwarg too, for the case when the other operand could be a dataframe?Any other feedback on the code would really help, thanks in advance!