I have 2 data frames. I would like to get below new data frame from 2 data frames.
Desired output 
dataFrameName  no.rows   no.cols
df1Name          100      34
df2Name          212      16
I have tried like below but getting error
def dfFun(*alldfs):
    df = pd.DataFrame(columns=[['dataFrameName ','no.rows','no.cols']], index=[0])
    for i in alldfs:
        df['dataFrameName'] = i
        df['no.rows'] = i.shape[0] # getting error here
        df['no.cols'] = i.shape[1]
        
Function calling
dfFun('df1Name','df2Name')
Error
AttributeError: 'str' object has no attribute 'shape'
I have understood the error but couldn't able to get the desired output.
 
     
    