How to Add a Column to a CSV

Problem Formulation and Solution Overview In this article, you’ll learn how to add a new column to a CSV file in Python. To make it more fun, we have the following running scenario: The owner of the Finxter Academy has asked you to add a new column to their existing CSV file called Total_Chrgs. πŸ’¬ … Read more

How to Read an XLS File in Python?

Problem Formulation and Solution Overview In this article, you’ll learn how to read an XML file and format the output in Python. To make it more fun, we have the following running scenario: Arman, a Music Appreciation student at the Royal Conservatory of Music, has been given course materials in an XML file format. Arman … Read more

How to Write Huge Amounts of Generated Data to a File in Python?

Problem formulation Sometimes we need to generate massive amounts of data. For example, to perform bootstrapping or jackknifing of our actual data. To get lots of parameterized dummy data, learn how to use new libraries or adjust the model’s hyperparameters. Or benchmark different solutions or debug and optimize our code. Generating this data is expensive, … Read more