The “conda create” command is a functionality provided by the Conda package manager that allows you to create new Conda environments. Conda environments are isolated spaces where you can install and manage specific sets of packages and dependencies for different projects or purposes. When you use the “conda create” command, you specify the desired name […]
Python
black – A Python auto code formatter (Command Examples)
Black is a popular Python tool that serves as an automated code formatter. It automates the process of formatting Python code according to a set of predefined rules, making the code consistent, readable, and adhering to best practices. By using Black, developers can save time and effort in manually formatting their code and focus more […]
2to3 – Automated Python 2 to 3 code conversion
In the world of Python programming, migrating code from Python 2 to Python 3 has been an essential task due to the language’s evolution and the deprecation of Python 2. While the transition can seem daunting, there are powerful tools available to simplify the process. One such tool is 2to3, an automated code conversion tool […]
ValueError: Masked arrays must be 1-D
Scatter plot is a basic plot of dots. You can draw it by calling plt.scatter(x,y). The following example shows a scatter plot of random dots: import numpy as np import matplotlib.pyplot as plt # Set the random seed for NumPy function to keep the results reproducible np.random.seed(42) # Generate a 2 by 100 NumPy Array […]
Hello Newbies in Tech! Switching From Windows to Linux? Read This First
I am a newbie in tech. I have been using Linux and Windows side by side for quite some time now. This blog post is based on my personal experience. I love Windows. I have used Windows all my life. Once, I thought of trying out a Linux distribution. I installed Ubuntu, but then I […]
A Beginner’s Guide To Create Files & Folders Inside Windows Subsystem For Linux
In this blog, we will learn how to create or move files and folders to Linux root system from Windows. Familiarity with Windows Subsystem for Linux (WLS) is required. Please read my earlier blog post – Windows Subsystem For Linux – Run Linux on Windows (It’s FAST). This is part 3 of our 4 part […]
Windows Subsystem For Linux – Run Linux on Windows (It’s FAST)
I am a newbie in tech. I have been using Linux and Windows side by side for quite some time now. This blog post is based on my personal experience. Feedback Welcome. Would really appreciate your time. In my earlier blog post Linux Vs Windows – Why Linux Is Better for Programming & Web Dev, […]
The Ultimate Guide To Use VS Code With Windows Subsystem for Linux (WSL)
In this blog, we will learn how to use Visual Studio Code in Windows Subsystem for Linux (WSL). In case you have not heard about WSL before, please read my earlier blog posts – What is Windows Subsystem For Linux and How To Run Linux on Windows. This is part 5 of our 6 part […]
My Development Environment Set up on Windows to use Python for Web Dev & Data Science
Techies have different set-ups on a Windows machine to use Python for web development, machine learning or data science. For the newbies in tech, I recommend any one of the following two development environment set-ups (also recommended by Microsoft) to start their coding journey: Use Windows Subsystem for Linux (WSL) and VS Code This is […]
Set up Jupyter Notebook in VS Code for Data Science
Project Jupyter is a non-profit, 100% open-source project. It develops software and web applications to support interactive data science and scientific computing. JupyterLab, Jupyter Notebook, and Jupyter Hub are the three key open-source software developed by the team. The Jupyter Notebook is a web app that lets you easily create and share documents that contain […]