Ask Your Question

Can the indices of two dataframes be merged through random shuffling?

asked 2023-05-21 19:22:41 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-05-21 19:47:02 +0000

qstack gravatar image

No, the indices of two dataframes cannot be merged through random shuffling. The indices of dataframes are used to identify and access specific rows in the dataframe, and shuffling them randomly would change the order of the rows, making it difficult to access and analyze specific data points. It is important to retain the original order of the indices or use a unique identifier to merge dataframes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools


Asked: 2023-05-21 19:22:41 +0000

Seen: 1 times

Last updated: May 21