Photo by Eric X on Unsplash

Hello Everyone ! So this article is about using graph objects directly to create geo-maps .Plotly’s Python graphing library makes interactive, publication-quality graphs.

  • Overview
  • Installation on Jupyter notebook
  • How to create maps for countries apart from USA?
  • Using graph objects directly.
  • Create maps using geoJSON!

Overview is an interactive, open-source, and browser-based graphing library for Python

Built on top of plotly.js , is a high-level, declarative charting library. plotly.js ships with over 30 chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts, and more.


If you’re using anaconda then you can download it simply using…

Don’t worry if it doesn’t work right. If everything did, you’d be out of a job

Photo by Honey Yanibel Minaya Cruz on Unsplash

Often when I’m solving problems, I don’t realize how fast time goes by and it's has been an hour I have been thinking and trying brute forces for my problem.

Don’t ever spend more than 15 mins thinking about a problem.

I have to keep in mind…

If you’re not able to come up with a solution within 1/2 hour or so - You don’t know how to solve it

Simple as that

Why you’re not able to solve a problem?

Either you’ve been living under a rock and have no idea, that there exists an algorithm to solve it…

This is the most unchallenging data analysis I’ve ever done, on the simplest data set: Airlines but you’ll love it!

Photo by Joel & Jasmin Førestbird on Unsplash

It had been a long break working on any data science project. The last project I did wasn’t successful and burned up my 90+ hours working on new frames on my core i3 computer. I know it’s a headache. I couldn’t start my new year with all the woe. Beginning 2021 up with something interesting and enlightening and simple(most important) was something I was craving.

I opened up my pc wide and started searching for a data set on Kaggle

Ubuntu Kylin is an official Ubuntu flavor whose primary goal is to create a variant of Ubuntu optimised for Chinese users (using the Simplified Chinese writing system), although it also supports other languages.

Photo by zhang kaiyv on Unsplash

Ubuntu Has Seven Official Flavors

  • Kubuntu — KDE Plasma, QT toolkit
  • Lubuntu — LXDE, lightweight, LXQT
  • Xubuntu — XFCE, lightweight, elegant
  • Ubuntu Budgie — Budgie, simple
  • Ubuntu MATE — MATE, classic
  • Ubuntu Studio — Multimedia, audio, video, graphics
  • Ubuntu Kylin — Chinese speaker

Out of which this article focuses on Ubuntu Kylin.

Kylin was originally developed in 2001 by academicians at the National University of Defense Technology in the People’s Republic of…

Photo by Anthony Cantin on Unsplash

— — Day 12: Rain Risk — -

Your ferry made decent progress toward the island, but the storm came in faster than anyone expected. The ferry needs to take evasive actions!

Unfortunately, the ship’s navigation computer seems to be malfunctioning; rather than giving a route directly to safety, it produced extremely circuitous instructions. When the captain uses the PA system to ask if anyone can help, you quickly volunteer.

The navigation instructions (your puzzle input) consists of a sequence of single-character actions paired with integer input values. After staring at them for a few minutes, you work out what they probably mean:

  • Action N means to move…

Clean up your cache in a few easy steps!

Image by Author

GNU/Linux has implemented efficient storage management for its users. But have you noticed your Linux system running out of space, filled with unused packages you installed months or years ago? How do find them and remove them? Here are a few valuable tips!

Cache File Location

Cache files are stored in /home/username/.cache which mostly consists of your browser’s data, IDE’s (if you use any ) and other software. Each user has its own data and this can build up exponentially . …

Photo by Alex Guillaume on Unsplash

You can write programs that launch other programs on a schedule by using the subprocess and threading modules.

For example, you could schedule a backup for every week or month and at a scheduled time like 10: 00 pm.

Alright, before we get started I’d like to give a glimpse of what this article covers.

  • The Time Module
  • Suspending execution — time.sleep() Function
  • understanding time zones
  • Creating a StopWatch-Project

The Time Module

Your computer’s system clock is set to a specific date, time, and time zone.
The built-in time module allows your Python programs to read the system
clock for the current time. The time.time()…

Photo by James Pond on Unsplash


  1. The password detection program
  2. Generating Random quiz file
  3. Mad Libs
  4. Selective Copy

The Password detection Program

import repassStrong=False
def passStrength():
password=input('Enter your password')
if charRegex.findall(password) == []:
print('Password must contain atleast 8 characters')
elif digitRegex.findall(password)==[]:
print('Password must contain atleast one digit')
elif upperRegex.findall(password)==[]:
print('Password must contain atleast one uppercase letter')
elif lowerRegex.findall(password)==[]:
print('Password must contain atleast one letter')
print("The password is strong.Good Job!")
while not passStrong:

Project: Generating Random Quiz Files

Say you’re a geography teacher with 35 students in your class and you want

to give a pop quiz on US state capitals. …

Here is a funny story: a teacher who teaches at a university used to complain saying that he was sick of seeing half of his students sleeping during his classes!

Poor things were always bored to death. It may have something to do with the fact that he was teaching “ Constitutional Law” , but still, indeed a good teacher should be someone who can make any subject interesting.

So he finally decided to do something about it and arranged a meeting with a famous Austrian Professor, specialised in Pedagogy, to ask her for an advice.

The first thing the…

Alright ,So the Modules we need right now are ,

1. Numpy (Numerical Python)

2. Pandas

3. Matplotlib

Installation and setup (python3)


To install Numpy on Ubuntu 20.04 execute the following command.

$ sudo apt install python3-numpy

Using pip

pip3 install numpy

Check the version ,

python3 -c "import numpy; print(numpy.__version__)"

Note- Some may face problems while using the pip3 command . Like, It has been installed but you are not able to use it . It may give you the ModuleNotFoundError .If your working directory and the installed modules are different .


pip install pandas

Check out the version…


Programmer | Technical content Writer | Lives in India | Wanna go where I can breathe freedom

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