Update for deprecations/new Dataframes

This is similar to #26 but avoids a memory copy of the indices, and also fixes a DataFrames constructor deprecation and indexing deprecation. Ideally these would be separate PRs/commits, but given how small they are I figured it was okay to combine them.