1. Correspondence Analysis

    Correspondence Analysis

    Introduction

    An introduction to correspondence analysis can be found in the book "Exploratory Multivariate Analysis by Example Using R" by François Husson. It is worth reading and, along with the tutorial series on YouTube tutorial series on YouTube , it is a great source that can help make the basics of correspondence analysis clear to you.

    read more
  2. Setup a PostgreSQL db

    Published: Tue 12 April 2022
    By Alex

    In misc.

    Install PostgreSQL

    I donwnloaded installer from EDB and followed instructions from PostgreSQL Setup Wizard. Wizard suggest to install some additional applications (pgAdmin etc.), let you choose directory, suggest the port number to listen 5432 or to use something else for security or if you are running multiple PostgreSQL services on …

    read more
  3. Pandas Useful Tricks

    Introduction

    Here I want to write a little about pandas that I play with sometimes and share some useful pandas methods. Notice the input data comes from module pydataset that comes with a bunch of popular dataset.

  4. May JS be understood through Python

    Published: Sat 29 January 2022
    By Alex

    In misc.

    How I Learn JS

    • codecademy.com
    • 100 days of web with Python

    Shrotly about problem

    I once read a great article about JavaScript on realpython.com While learning JS you often think about how this portion of JS code could be written in Python. So I decided to white chunks …

    read more
  5. Namedtuple Can Become a Json

    Published: Thu 14 October 2021
    By Alex

    In misc.

    How Once I Needed To Converte namedtuple

    Shrotly about problem

    I once needed to make a json of following form from list of strings ["lorem", "ipsum"]

    lorem_fields = [{
      "tag": "input",
      "name": "lorem",
      "type": "text",
      "human_label": "Lorem"
    }, {
      "tag": "input",
      "name": "ipsum",
      "type": "text",
        "human_label": "ipsum"
    }]
    

    Code:

    from collections import namedtuple …
    read more
  6. Debugging it all

    Published: Wed 11 August 2021
    By Alex

    In misc.

    Setting Up for Python >= 3.7

    python -m pdb or breakpoint() when older python import pdb; pdb.set_trace()

    Basic commands

    l (ll) list lines around breakpoint p (pp) pretty print n (ext) statement c (ontinue) program s (tep) into a function i (nteract) enter REPL !command (e.g. !help)

    ressources …

    read more

« Page 3 / 4 »

links

social