Forum Discussion
FilipFireFlyBI
Resolver I
6 years agoTitanic dataset with Python in Power BI for making visuals
Hi all, I try to import titanic dataset in Power BI, and make some basic Python visualisations. In the query editor I can succelfully import the dataset using this Python code: import...
- 6 years ago
Hi FilipFireFlyBI ,
Try this:
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt sns.set_style('whitegrid') ax = sns.countplot(x='survived',data=dataset) plt.show()Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Icey
Community Support
6 years agoHi FilipFireFlyBI ,
Try this:
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
sns.set_style('whitegrid')
ax = sns.countplot(x='survived',data=dataset)
plt.show()
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.