Tail - Bottom 5 Rows

     

  • Tail returns the rows from the Bottom of DataFrame
  • By default Tail returns bottom 5 rows
  • print(df.tail())
  •  

    {% for c in range(colscount) %}
    {{headerdata[c]}}
    {% endfor %}
    {% for i in range(rowscount) %}
    {% for c in range(colscount) %}
    {{totalrows[i][c]}}
    {% endfor %}
    {% endfor %}

     

     

     

    Tail - Bottom Ten rows

     

  • Returns bottom ten rows of DataFrame
  • df.tail(10)
  • {% for c in range(colscount) %}
    {{headerdata[c]}}
    {% endfor %}
    {% for i in range(rows) %}
    {% for c in range(colscount) %}
    {{tenrows[i][c]}}
    {% endfor %}
    {% endfor %}

     

     

    Tail - Bottom ten rows and six columns of DataFrame

  • Returns bottom ten rows and six columns of DataFrame
  • {% for c in range(maxcolumn) %}
    {{headerdata[c]}}
    {% endfor %}
    {% for i in range(rows) %}
    {% for c in range(maxcolumn) %}
    {{tenrows[i][c]}}
    {% endfor %}
    {% endfor %}