Image for post
Image for post

Today’s agenda-

What is an ER diagram or ER model in a database?

Components of ER diagram

How to create an ER diagram of a database using MySQL Workbench?

What is an ER diagram or ER model in a database?

An Entity-Relationship (ER) Diagram is a type of flowchart that illustrates how “entities” such as people, objects, or concepts relate to each other within a system. It is also known as ERDs or ER Models. They use a defined set of symbols such as rectangles, diamonds, ovals, and connecting lines to depict the interconnectedness of entities, relationships, and their attributes. They mirror grammatical structure, with entities as nouns and relationships as verbs.

Let…


Linux is one of the most popular operating systems. It is a free and open-source operating system that is widely used in enterprise systems as well as desktop and laptop environments.

Image for post
Image for post
Image source: Author

It comes in several distributions with RedHat making up 65–80% of the data center market. Other distributions that are free to use and common in data centers include Debian, Mint, CentOS, Fedora, Kali, Arch, etc. …


NumPy is a Python library used for working with arrays. It also has functions for working in the domain of linear algebra, Fourier transform, and matrices. That is what you will hear from most people. Although NumPy is an essential package to do mathematical computations, some people are still out of the loop as to how it can be used. This blog aims to clarify how you can make the most out of Numpy. In continuation of the last blog,

Image for post

Today we will be extending our discussion to-

  • Memory layout of ndarray
  • Views and copies
  • Vectorized operations
  • Universal functions
  • Broadcasting


In this article, we will learn about Introduction to NumPy.

NumPy is the fundamental package for scientific computing in Python. It is a Python library that provides a multidimensional array object, various derived objects (such as masked arrays and matrices), and an assortment of routines for fast operations on arrays, including mathematical, logical, shape manipulation, sorting, selecting, I/O, discrete Fourier transforms basic linear algebra, basic statistical operations, random simulation and much more. It is open-source software that has many contributors.

Image for post
Image for post

NumPy is so fundamental that it's hard to imagine a world without it. …


“Every day is a chance to begin again. Don’t focus on the failures of yesterday, start today with positive thoughts and expectations.” — Catherine Pulsifer

It kept on buzzing around my mind that What is the actual need for databases and the differences between the most popular used databases.

Let’s start from the beginning…

What is Data?

Data are characteristics or information, usually numerical, that are collected through observation. Data as a general concept refers to the fact that some existing information or knowledge is represented or coded in some form suitable for better usage or processing.

These data are random information. To…


Image for post
Image for post

In this blog, I would be talking about

  • how to open file
  • how to close the file
  • how to create a file
  • how to read a file
  • how to write in a file
  • context management

What is FILE?

A file is a container in a computer system for storing information. Files used in computers are similar in features to that of paper documents used in library and office files. There are different types of files such as text files, data files, directory files, binary and graphic files, and these different types of files store different types of information. …


Get to know more …

Image for post
Image for post
Image source: Author

In this blog, I try to scratch Python’s inner working, queries, and some tricks:

  1. Is Python interpreted or compiled? Are there ways to compile the code?
  2. Which is faster in python — Searching in a list or a dictionary. And why?
  3. How can we get the code of a python object?
  4. What are the ways to make python code work faster?
  5. What is exec function and how we can use it?
  6. What are metaclasses and dataclasses in python?
  7. what is __call__ method in python?

Is Python interpreted or compiled? Are there ways to compile the code?

According to most of the Python programming books and pythonic, Python…


Image for post
Image for post
Image Source: Author

Most of us must be wondering why I have come up with this. I guess I am right. Ain’t I? While doing the project I got stuck on a couple of pretty basic use cases. So after poking around a bit to get un-stuck, I figured it was worth sharing what I learned.

Definition :

Indexing: Indexing is a technique used to obtain an individual element in the iterable by its position within the iterable.

Slicing: Slicing is a technique that takes elements from one given index to another given index.

INDEXING

They are basically used for Python Sequences types like list, string…

Sweta Barnwal

3rd year CSE student at IIITKALYANI , enthusiastic learner and explorer

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