Closed parthm closed 6 years ago
+1 for this feature, default value is neat solution.
But you should rebase your branch and there should be only 1 commit for this PR.
Good catch @rainchen . Rebased.
there should be only 1 commit for this PR.
It is not necessary, in fact. :) We use Squash&Merge github feature.
@zverok "Don't make me think too much", actually this is a code review rule in my team. With clear commits can save reviewer's time. Reviewers can quickly to get the summary of a PR like "oh, there is 1 commit and 2 file changes and it's expected if I do this task by myself".
You have a point. However, in this project where the only means of communication is a Pull Request and the issue tracker, having one PR per feature becomes a more generalized and easier way of communication. If there is one feature per commit, one needs to sit and read a list of commits, instead of quickly looking at the PR name and description. Its just more 'in your face' if you know what I mean.
Though it does not hurt to have one commit per feature in separate PRs :)
@rainchen Yep, @v0dro is right. Being one of the guys who does reviewing and merging, and considering we have people of various backgrounds trying to contribute, I explicitly state I am are OK with several commits per PR, not a big deal.
This patch allows
Daru::DataFrame.new
to create an empty dataframe as noted in issue #392. Comments / suggestions welcome.