I'm writing a function to filter tweet data that contains search word. Here's my code: Before filter: After filter, user's name becomes random i ...
I'm writing a function to filter tweet data that contains search word. Here's my code: Before filter: After filter, user's name becomes random i ...
I keep getting the below error when trying to run python script in power BI. I have tried uninstalling and re-installing all numpy , pandas but to no ...
I am using a regex that is suggested here to repleace any type of phone numbers with aaaaaaaaaa. This a snapshot of my data : My code is and I g ...
I am working with some monthly data and I would like to convert it to daily data by creating and populating some dummy rows, as the question suggests. ...
I have a dataset with a text column that includes texts and a term that starts with a term such as sa and with two following digits after. The letters ...
Hope everyone is well. In my dataset there is column including free texts. My goal is to remove all dates in any format form the text. this is a snaps ...
I am attempting to export a cleaned dataframe to a csv file for it to be imported into a new jupyter notebook for ML purposes. I ran the following co ...
My data has info by sales information for people n amount of times. I need the data long row wise and all the different sales activities into one colu ...
I have created a word cloud with the following frequency of terms: I want to add the 6 counts for "learn" into the overall count for "learning" so ...
I am currently studying SQL and I am still a newbie. I have this task where I need to split some rows with various entries like dates and user IDs. I ...
I have a dataset like this: How can I split each row by "" and remove n to make two new columns. For instance, car and AI cell (“2\n0.00”), I will ...
I have a large data frame, consisting of 400+ columns and 14000+ records, that I need to clean. I have defined a python code to do this, but due to th ...
Given the following using R: I would like to create a new column with a dummy variable for rows that contain Cnty, County, or county. Sorry I know ...
What I'm doing: I am reading a csv file into python using pandas. A valid entry will always start with a county. The issue The issue I'm having is ...
I have 6 excel files each containing 1 to 3 spread sheets. I want to upload them into pandas data frame and then do some data cleaning on them. My que ...
Often when reading messy csv files I end up seeing different kind of errors due to inconsistency of the data types in the column, for instance: Whe ...
I have a users database. I want to separate them into two columns to have user1 and user2. The way I was solving this was to split the names into mult ...
I have the following data: Name Age Country Occupation Hobby 0 A 23 ...
I have a long table on firm-level that has the first and last active year and their zip code. I want to get the panel data that has the zipcode for ...
what i ideally want is data in this particular format, i've shown some below to get an idea I haven't filled out all the corrected numbers but what ...