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

Resize rows #1459

Merged
merged 3 commits into from
Dec 1, 2018
Merged

Resize rows #1459

merged 3 commits into from
Dec 1, 2018

Conversation

st-pasha
Copy link
Contributor

@st-pasha st-pasha commented Dec 1, 2018

  • DataTable.resize_rows() now works correctly for a DataTable where its columns have different row-indices;
  • This method is now more efficient: for multi-column Frames a view is created, without having to modify the data in each column;
  • Python Frame.nrows setter now always pads the Frame with NAs, even when it had only 1 row (previously 1-row frames were tiled);
  • Method dt.repeat(frame, n) added to create a frame by repeating an existing frame multiple times.

This is a WIP for #1188

@st-pasha st-pasha self-assigned this Dec 1, 2018
@st-pasha st-pasha merged commit a623746 into master Dec 1, 2018
@st-pasha st-pasha deleted the resize_rows branch December 1, 2018 07:28
@st-pasha st-pasha added this to the Release 0.8.0 milestone Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant