Make a list containing two elements : 'None' and None.
x = ['None',None]
x
['None', None]
print(x)
['None', None]
It is obvious that the first is a string whose value is 'None', the second is a NoneType None in python.
Create a dataframe which contain the two element also:
df = pd.DataFrame({"content": ['None', None]})
type(df.iloc[0,0] )
<class 'str'>
type(df.iloc[1,0])
<class 'NoneType'>
df
content
0 None
1 None
print(df)
content
0 None
1 None
Maybe python community should make a progress to display it such as shown the list:
df
content
0 'None'
1 None
print(df)
content
0 'None'
1 None