Showing posts with the label data-science

[FIXED] pandas dataframe column contains string and int

Issue My data-frame age column looks like this 20 or younger =14 61 or older =45 56-60 …

[FIXED] Missing part of the data in graph

Issue I'm writing a program which will show the candlestick chart of Gold and detect patterns. …

[FIXED] Rename of huge number of columns - python / pandas

Issue I wonder how to change the names of columns which name has begin on "Unnamed:". Wan…

[FIXED] MultiIndex dataframe into Json

Issue I have Datframe with Multiindex and I want to transfer it to Json this is Datframe This is …

[FIXED] Affinity propagation did not converge, this model will not have any cluster centers

Issue When I try to cluster using affinity propagation, the below error occurs and the number of cl…

[FIXED] how to make the y-axis value in order when using ggplot2 in R language

Issue I was trying to use ggplot2 to plot multiple lines in a window. this is my code here: ggplot…

[FIXED] How would I generate API call via Python while reading data from csv flle? I am using Pandas library and would need some guidance

Issue I am still learning Data Engeineering and Data Science, new and appreciate any advice. Long …

[FIXED] How to convert pandas dataframe using Unstack?

Issue I want to convert the following DataFrame src="https://i.stack.imgur.com/CNttz.png"…

[FIXED] Using a Word2Vec Model to Extract Data

Issue I've used gensim Word2Vec to learn the embedding of monetary amounts and other numeric da…

[FIXED] TypeError: Expected `trainable` argument to be a boolean, but got: bert

Issue I got this error when implementing my model. I think the erros come from the bert model which…

[FIXED] Replacing values in a R dataframe given certain conditions

Issue I'm trying to loop through columns 10 - 12 of the following data set df2, replacing 1 wit…

[FIXED] Difficulty Selecting Element using Selenium

Issue Glassdoor Job Search Link Currently

[FIXED] Why is my Normal Q-Q Plot of residuals a vertical line?

Issue I am using a Q-Q Plot to test if the residuals of my linear regression follow a normal distri…

[FIXED] Index issues while data cleaning

Issue Original code credit-Ken Jee Salary = df['Salary Estimate'].apply(lambda x:x.split(&…

[FIXED] MySQL Workbench Error Code 1054 for Invalid Column Even When I Have the Corresponding Column Name

Issue I am having an issue with MySQL Community Server Workbench. I input this command on MySQL Fil…

[FIXED] R notation for declaring vectors - Axioms of Probability

Issue We have this homework assignment. Problem 1: Suppose we are interested in the buying habits …

[FIXED] norm.ppf vs norm.cdf in python's scipy.stats

Issue so i have pasted my complete code for your reference, i want to know what's the use of pp…

[FIXED] Pandas dataframe how to add a columns based on rank in a dates vector

Issue I have a vector of dates L = [Timestamp('2018-07-15 00:00:00'), Timestamp('201…

[FIXED] Data manipulation to nested dictionaries?

Issue I have some data that looks like this: this_data = [{ "Name": "Bluefox&qu…

[FIXED] How to find first and last time for every day for each value

Issue I am trying to figure out a way to find the first and last time stamp for each asset within a…