Collaborating Authors

Style Pandas Dataframe Like a Master


In addition, the cmap argument allows us to choose a color palette for the gradient. The matplotlib documentation lists all the available options (seaborn has some options as well).

Building Recommendation System with Scala and Apache Spark [Tutorial]


Recommendation systems can be defined as software applications that draw out and learn from data such as preferences, their actions (clicks, for example), browsing history, and generated recommendations, which are products that the system determines are appealing to the user in the immediate future. In this tutorial, we will learn to build a recommendation system with Scala and Apache Spark. This article is an excerpt taken from Modern Scala Projects written Ilango Gurusamy. In the preceding diagram, can be thought of as a recommendation ecosystem, where the recommendation system is at the heart of it. Implementation is documented in the following subsections.

Real-Time Stock News Sentiment Analyzer


Investing in the Stock Market is a great way of tackling Inflation. Inflation refers to the rise in the prices of most goods and services of daily or common use, such as food, clothing, housing, recreation, transport, consumer staples, etc. Basically, with 100 rupees you won't be able to buy as many vada pavs (wadapavs) as you could last year. In the pandemic-struck financial year of 2020โ€“2021 a whopping 142 lakh new investors have started trading in the stock market. One key skill required to make good investments in the stock market is being able to correctly analyze news related to the finance and the business sector. Which company is diversifying its sectors or which company is showing signs of heading towards bankruptcy? You need to keep yourself updated with every little deal and fallout happening in the market.

Pandas Excel: Exercises, Practice, Solution


We have executed Python code in Jupyter QtConsole and used coalpublic2013.xlsl To get Jupyter QtConsole download Anaconda from here. Go to Excel data Note: Structure of the three datasheets are same. Go to Excel data Note: Structure of the three datasheets are same. Do not submit any solution of the above exercises at here, if you want to contribute go to the appropriate exercise page.

Python Pandas : Replace or change Column & Row index names in DataFrame โ€“


In this article we will discuss how to change column names or Row Index names in DataFrame object. First of all, create a dataframe object of students records i.e. DataFrame object has an Attribute columns that is basically an Index object and contains column Labels of Dataframe. We can get the ndarray of column names from this Index object i.e. For example let's change the name of column at index 0 i.e.