Melt Wide DataFrame into MultiIndex DataFrame

前端 未结 0 1012
别那么骄傲
别那么骄傲 2021-01-30 17:31

Suppose I have a dataframe like so,

import pandas as pd
import numpy as np

df = pd.DataFrame({
    str(i): np.random.randi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题