Pandas drawing



  • Just to record the drawing skills encountered in learning

    Draw density map

  • Sometimes we need to count the frequency of each value in a column, that is, the density map
  • Drawing method

    • raw data
      Pandas drawing
      We want to plot the value distribution
    • code

      import matplotlib.pyplot as plt
      DF. Value. Plot (kind ='kde ', color =' Red ', label =' nuclear density diagram ')
    • graphical
      Pandas drawing