Python – Remove spaces and None from pandas dataframe

In the attached video below, I am simply showing the following 3 pieces of code with Jupyter Notebook:

  • Remove spaces in dataframe columns.
  • Remove none values from dataframe rows.
  • Filter dataframes, based on values.
    • E.g. – put all rows with values above certain amount in one dataframe and all with values below in another one

The bridge above Danube, close to Vidin. Not related to python, neither to dataframes.

Generally the whole code is in GitHub here, and these are the pieces that make it work:

The YouTube video is below!

Thank you for your interest! 🙂

Tagged with: , , , ,