SyntaxFix
Write A Post
Hire A Developer
Questions
Sometimes df.name doesn't work.
df.name
you might get an error message:
'DataFrame' object has no attribute 'name'
try the below function:
def get_df_name(df): name =[x for x in globals() if globals()[x] is df][0] return name