Skip to content

Understanding index column in a StdDataFrame<I> and templating #287

Discussion options

You must be logged in to vote

An index column in a DataFrame is unlike an index in a SQL table. SQL table index makes access efficient. It doesn’t give you any more information. The index column in a DataFrame is metadata about the data in the DataFrame. Each entry in the index describes the given row. It could be time, frequency, …, or a set of descriptors in a struct (like temperature, altitude, …). So, there can be almost infinite possibilities. That’s why I kept the index column as a template which also differentiates the DataFrame type.
Whether a bool index column type is relevant or not is unimportant.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dereckmezquita
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants