Skip to content

Binary Operations on DataFrame#4

Merged
Kriyszig merged 10 commits into
masterfrom
binaryops
Jun 24, 2019
Merged

Binary Operations on DataFrame#4
Kriyszig merged 10 commits into
masterfrom
binaryops

Conversation

@Kriyszig
Copy link
Copy Markdown
Owner

Issue: #1

New ways to construct index, declare DataFrame and Bianry Operations on DataFrame Rows and Columns.

Kriyszig added 9 commits June 13, 2019 09:40
* Binary Ops early prototype
* Basic use case unittests
* Axis!void will store data in an array of variant
* Modified opBinary to allow arithmetic ops with variant Axis
* Added some unittest to verify correct assignment and behavior
…tions

* Enabled return of Axis!void struct with data stored as Variant
* Enabled column binary operation on Axis!void
* Added unittest to verify correct behavior
* Division of Axis!void with Axis!T works now
* Added a function to generate code from given indexes
* Optimized Index.optimize()
* Axis.convertTo!T works with Axis!void
* Used ElementType instead of the inefficient thing I was doing before
…tIndex

* DataFrame declaration with static array
* Building Index row wise
* DataFrame.setIndex set the index of columns even if it was shorter than RowType.length
* Construct Indexes using a Zip range
* Construct Indexes using unique levels
* zip returns a ZipShorten which isn;t exposed
* Added levels in parameter to statically know the length of zip tuple
* Added a part about declaration of DataFrame
* Added documentation for buildFromPairs, buildFromZip and buildFromLevels
* Added documentation on Binary Operations
Comment thread source/magpie/dataframe.d Outdated
Comment thread source/magpie/dataframe.d Outdated
* Improved error message
* Lint
@Kriyszig Kriyszig merged commit 49b6040 into master Jun 24, 2019
@Kriyszig Kriyszig deleted the binaryops branch June 24, 2019 19:40
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.

2 participants