Monthly Archives: May 2016

Mars Craters Research Project #4: Visualizing Data

This study shows graphically the distribution of crater morphologies, crater location plot and relationship between diameter and depth of a crater. The Python program below should call the graphs, but unfortunately it is impossible due to traceback error (the matplot.pyplot

Tagged with: , , , ,
Posted in data analysis, python

Python Exercises: List Methods and Dictionaries

Below presented exercises come from An Introduction to Interactive Programming in Python (Part 2) course available on Coursera. All methods have one goal: to subordinate names of week days to numbers, starting from 0, ending on 6. Exercise 1 Write a function 𝚍𝚊𝚢_𝚝𝚘_𝚗𝚞𝚖𝚋𝚎𝚛(𝚍𝚊𝚢)

Tagged with: , ,
Posted in python

Mars Craters Research Project #3: Managing Data

There were 3 variables worked out in this Python program: diameter of a crater (DIAM_CIRCLE_IMAGE), depth (DEPTH_RIMFLOOR_TOPOG) and ejecta morphologies (MORPHOLOGY_EJECTA_1, MORPHOLOGY_EJECTA_2). Below you can find the output of this program: counts and percentages for chosen variables. To have better organized

Tagged with: , , , ,
Posted in data analysis, python

Mars Craters Research Project #2: Running the First Program

All observed craters on Mars were investigated in terms of several characteristics, like ejecta morphology, depth of the crater or number of layers. This Python program prints frequency distributions for 3 above mentioned variables: MORPHOLOGY_EJECTA_1, DEPTH_RIMFLOOR_TOPOG and NUMBER_LAYERS. Below you can

Tagged with: , , , ,
Posted in data analysis, python

Python Exercises: Computing Pay

Below exercises come from the book ‘Python for Informatics. Exploring Information.’ Version 2.7.0 by Charles Severance. Exercise 2.3 Write a program to prompt the user for hours and rate per hour to compute gross pay. Enter Hours: 35 Enter Rate:

Tagged with: , ,
Posted in python