Я использую Google Colab Pyton 3.x и у меня есть данные, как показано ниже. Я хотел бы видеть все клетки в каждой строке и столбце. Как я мог это сделать? Я пытался pd.set_option('display.max_columns', 3000)
, но это не работает
# importing pandas as pd
import pandas as pd
# dictionary of lists
dict = {'name':["a1", "b2", "c2", "d3"],
'degree': ["We explained to customer how correct fees (100) were charged. Account balance was too low", "customer was late in paying fees and we have to charge fine", "customer's credit score was too low and we have to charge higher interest rate", "customer complained a lot and didnt listen to our explanation. I had to escalate the call"],
'score':[90, 40, 80, 98]}
# creating a dataframe from a dictionary
df = pd.DataFrame(dict)
print (df)
name degree score
0 a1 We explained to customer how correct fees (100... 90
1 b2 customer was late in paying fees and we have t... 40
2 c2 customer's credit score was too low and we hav... 80
3 d3 customer complained a lot and didnt listen to ... 98