Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

add index to the DataFrame #121

Open
feiyu-london opened this issue Jan 3, 2021 · 0 comments
Open

add index to the DataFrame #121

feiyu-london opened this issue Jan 3, 2021 · 0 comments

Comments

@feiyu-london
Copy link

Sometimes I would need to assign an index to both existing dataframe and new dataframe (most likely 1:n series), so that these two dataframes can be joined together.

Also the existing dataframe might be updated through operations, so a new index might be required so that the updated dataframe can be properly searched and referenced.

In both cases, being able to add a new index (e.g. a series of 1:n) conveniently can be good.

The solution can be found in SQL operation - alter table [dataframe] add new column and as#t auto_increment.

Hope this makes sense.

Regards,

Fei from the U.K.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

1 participant