text_html_output_2.png
import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

titanic = pd.read_csv('/kaggle/input/test-file/tested.csv')

titanic.shape

titanic_gender = titanic['Sex'].value_counts(normalize=True)
print(f'People divided by gender in percentage: \n{titanic_gender}')