Can we got column name from dataframe when the data not matched? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Can we got column name from dataframe when the data not matched?

Can we got the column name from dataframe in python, so when we cannot find the value in there. we can look other column which not relevant with our criteria? can we find this library in python? may some one give me a clue?

29th Mar 2018, 1:57 PM
Wandy
Wandy - avatar
3 Respuestas
+ 1
by print Dataframe.columns you can get column names.
20th May 2018, 8:27 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar
0
you can print whole data frame for finding relevant column
20th May 2018, 8:28 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar
0
thank you
13th Jun 2018, 12:32 AM
Wandy
Wandy - avatar