Python cheatsheet and snippets for beginners

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • EPTA-Forge-Python

  • Github Repo (in PT-br)

  • awesome-python

    An opinionated list of awesome Python frameworks, libraries, software and resources.

  • In this section, I'll introduce some modules and cool stuff that python provides for us to work with. These are just a few examples of things that Python can do, but in general, there are many things beyond that. You can check some things out here.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • NumPy

    The fundamental package for scientific computing with Python.

  • import math #math https://docs.python.org/3/library/math.html #matplotlib https://matplotlib.org/ #numpy https://numpy.org/ #math -> Some more complicated calculations print(math.sqrt(15)) print(math.sin(math.pi/6)) print(math.cos(math.radians(60)))) #numpy more advanced math and amazing helper functions #matplotlib plotting charts import matplotlib.pyplot as plt import numpy as np plt.style.use('_mpl-gallery') # make date x = np.linspace(0, 10, 100) y = 4 + np.sin(x) # plot fig, ax = plt.subplots() ax.plot(x, y, linewidth=2.0) ax.set(xlim=(0, 8), xticks=np.arange(1, 8), ylim=(0, 8), yticks=np.arange(1, 8)) # plt.show() plt.savefig("matplotlib.png")

  • cheatsheets

    Official Matplotlib cheat sheets (by matplotlib)

  • import math #math https://docs.python.org/3/library/math.html #matplotlib https://matplotlib.org/ #numpy https://numpy.org/ #math -> Some more complicated calculations print(math.sqrt(15)) print(math.sin(math.pi/6)) print(math.cos(math.radians(60)))) #numpy more advanced math and amazing helper functions #matplotlib plotting charts import matplotlib.pyplot as plt import numpy as np plt.style.use('_mpl-gallery') # make date x = np.linspace(0, 10, 100) y = 4 + np.sin(x) # plot fig, ax = plt.subplots() ax.plot(x, y, linewidth=2.0) ax.set(xlim=(0, 8), xticks=np.arange(1, 8), ylim=(0, 8), yticks=np.arange(1, 8)) # plt.show() plt.savefig("matplotlib.png")

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Resumão de Python para iniciantes com aulas! [PT-BR]

    4 projects | dev.to | 20 May 2022
  • About to lose access to MATLAB, is Python a realistic replacement for DSP algorithm development?

    2 projects | /r/DSP | 21 Apr 2023
  • Book or web book recommendation request: a data visualization cookbook using Python for scientists.

    3 projects | /r/Python | 22 Feb 2023
  • Analysing AWS VPC Flow logs with Python and Pandas

    3 projects | dev.to | 13 Feb 2023
  • How to model the hanging chain PDE using numerical methods in Python?

    2 projects | /r/learnpython | 25 Nov 2022