In the airflow version less than 2, there is no default authentication available in the web application. Anyone can access the application with the URL, it won’t ask for any username and password. But apache airflow provides an option to… Continue Reading →
Whenever you are doing some preprocessing of data in pandas/python and reading data from any CSV file do the following things first. Trim space in all the columns. Convert each column in the right datatype. Contd.
When you are working on the Jupyter notebook and using seaborn or matplotlib for plotting the curves, you will see that many times your plot is overlapping and you want to change the size of the plot. You can use… Continue Reading →
If you are working in machine learning then I am sure you will need this code many times. Use the below piece of code for one hot encoding. cat_vars=[‘LeadSource’,’Products__c’,’Service_Offering__c’] for var in cat_vars: cat_list=’var’+’_’+var cat_list = pd.get_dummies(dataset2[var], prefix=var) dataset3=dataset3.join(cat_list) cat_vars=[‘LeadSource’,’Products__c’,’Service_Offering__c’]… Continue Reading →
When you open the finder then by default it opens the recent folder but sometimes you want to customize it according to your need or most frequently visited folder. Follow the below steps to set the Mac Finder default folder… Continue Reading →
If you are here then I am assuming that you know what is pandas and the use cases where it can make your life easy. So I will directly introduce you to some basic functions so that you can start… Continue Reading →
© 2024 My Beliefs
Write us at [email protected]