Coder Social home page Coder Social logo

osairps / blog_mega_sena Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berkurka/blog_mega_sena

0.0 0.0 0.0 1.16 MB

Statistical analysis of Brazilian largest lottery.

Home Page: https://medium.com/@bkexcel2014/mega-sena-statistics-ae03b2924dd7

Jupyter Notebook 100.00%

blog_mega_sena's Introduction

Mega Sena Statistics:

Overview

Creating statistics on 'Mega-Sena' lottery results.

Methods

  • Data cleaning , EDA and Statistic was made using Pandas and Numpy librarys in Python.
  • Plots using matplotlib.pyplot library.
  • Words were tokenized using CountVectorize from sklearn library

Results

  • Numbers 10, 5, 53, 4, 23 where the most frequent.
  • Numbers 9, 22, 55, 21, 26 where the less frequent.
  • Even and Odd numbers almost had the same frequency (50.4 and 49.6 respectively).
  • Numbers from 1-10 are present in 17.02% of draws (highest).
  • Numbers from 21-30 are present in 16.34% of draws(lowest).
  • Number combination 29,38,50 was present in 8 draws.(highest)

Softwares Used

  • Jupyter notebook
  • Python 3.6
  • Powerpoint

Notebooks:

  1. mega_sena.ipynb

Datasets

Mega-Sena results

Data Dictionary

Label Type Description
draw int64 Number of the draw
data object Date of the draw (dd/MM/YYYY)
num1 int64 1st winning number in the draw
num2 int64 2st winning number in the draw
num3 int64 3st winning number in the draw
num4 int64 4st winning number in the draw
num5 int64 5st winning number in the draw
num6 int64 6st winning number in the draw
is_even int64 Dummy: 1 for even, 0 for odd

blog_mega_sena's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.