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

Does there exist a way, or a plan to provide appending new data? #69

Open
helloworldpark opened this issue May 23, 2018 · 3 comments
Open

Comments

@helloworldpark
Copy link

Having a look at the godoc, I couldn't find any API to add a new data, i.e. a new row, to the existing Dataframe. Is it planned to be implemented, or is there a hack to deal with?

@nawa
Copy link

nawa commented Jun 18, 2018

Is it what you require? #62

df = df.RBind( dataframe.LoadRecords(
		[][]string{
			[]string{"A", "B", "C", "D"},
			[]string{"z", "9", "9.9", "true"},
		},
	)
)

@pjebs
Copy link

pjebs commented Aug 27, 2018

Append to a certain index, not necessarily to the end.

@mannharleen
Copy link

mannharleen commented Jan 5, 2020

@helloworldpark @nawa I ve created a PR with the relevant changes that would implement an insert at arbitrary position. Happy for feedback. If in doubt, checkout the tests for usage

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

No branches or pull requests

4 participants