“Spaceborn” visualizations applied to a UFO dataset

From Unsplash


You probably didn’t know what they mean

From Unsplash

Python and Anaconda


Any idea when on earth they can be helpful?

Image by Author

1. ndim

import pandas as pd
df = pd.DataFrame({'A':[6, 8], 'B':[9, 2], 'C':[1, 5]},
index =['a', 'b'])
print(df, '\n')
print('ndim for a dataframe:', df.ndim) …


How to make your code and storytelling more vivid

From Unsplash


High-quality minimalist interactive visualizations ideal for electronic publishing

Image by Author


A famous statistical phenomenon proven programmatically

From Unsplash



Use Python for fun

Zodiac signs
Zodiac signs
Photo by Josh Rangel on Unsplash.
import pyaztro
taurus = pyaztro.Aztro(sign='taurus')
taurus.description
"Something slides into place today and gets you thinking about the big picture -- it's one of those days when you can suddenly see how it all fits together! Pass the word along to all the key players."


The easiest way to do it

Image by Author


Intersection, union, difference, and symmetric difference

From Unsplash
  • values of int type (so as we can use also mathematical operations),
  • some keys in common,
  • some key-value pairs in common,
  • other key-value pairs are specific for each dictionary.
d1 = {'a':1, 'b':2, 'c':3, 'd':4, 'e':5, 'f':6}
d2 = {'c':3, 'd':4, 'e':50, 'f':60, 'g':7, 'h':8}

Elena Kosourova

Petroleum Geologist passionate about Data Science. Linkedin: https://www.linkedin.com/in/elena-kosourova-b8154322/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store