Questions tagged [drop]
468 questions
0
votes
0 answers
Hive unpartitioned table didn't get loaded with data
I dropped and recreated existing hive table which is not partitioned through spark job. when I ran the job first time after dropping, it didn't get loaded with data. Then I re ran the same job again with out making any changes now it is showing…

Bindu
- 11
- 1
- 3
0
votes
1 answer
How to drop rows before a datetime variable in pandas?
My code returns a completely empty dataframe when I try to select and drop rows before a given datetime. Passing the datetime through as a string works however i need this to be a variable based on the last datetime value of my…

YUragun
- 117
- 7
0
votes
0 answers
Mysql ERROR 1049 (42000): Unknown database 'blog_data'
I used the command DROP DATABASE blog_data it was executed successfully.Then I logged out of the mysql and tried to login again with the command sudo mysql -u djangouser -p it prompt for the password after which if I give the password it is throwing…

Arjun Singh
- 11
- 3
0
votes
1 answer
Drop a row from Pandas Dataframe when any of the columns are duplicate
I have a dataframe that contains answers to many questions.
Each row represents an answer-er and the columns are the answers to the questions given
Because people often spam those questionnaires sometimes there are answer-ers that give the same…

Poulos Spyros
- 39
- 5
0
votes
1 answer
Drop rows from Dataframe
I am attempting to drop rows from my dataframe that do meet a set of conditions. However it doesn't seem to be working.
Below are the two version which I have tried so far without success:
Attempt 1
df = df.drop(df[(df['Factorization'] != 0.5) &…

windwalker
- 359
- 4
- 14
0
votes
1 answer
Drop column from MultiIndex df
I apologize if this question is repeated, I was unable to find a working solution with previous answers.
Problem: I am looking to drop a column from a multi-index dataframe. The column in question appears as a level. In particular I wish to drop the…

alison browne
- 5
- 1
- 3
0
votes
2 answers
Why calling iter on array of floats gives "temporary value is freed" when using f64::from_bits?
I encountered a lifetime error which I am not able to explain why it is emitted by the compiler. I need this (which works fine):
fn iter<'a>() -> impl Iterator- {
[3.14].iter()
}
However, when I try to use a float value which is…

pnevyk
- 1
- 4
0
votes
1 answer
How can drop database with a cyrillic symbol in the name?
I have two databases in /var/lib/mysql/:
test_@x0m
test_cm
The database test_@x0m has the cyrillic symbol in the name.
In mysql this databases look like:
test_?m
test_cm
I want to remove database with the cyrillic symbol. I use commands:
drop…

perrfect
- 15
- 3
0
votes
1 answer
How to drop a row of a pandas
Dataset
f = pd.DataFrame(np.arange(16).reshape(4, 4),columns=['A', 'B', 'C', 'D'])
I tried the below way, but the column is not getting removed. Please help me!
f.drop([3])
f.head()
I even tried iloc method, but no improvements were there. Please…

Samar Pratap Singh
- 471
- 1
- 10
- 29
0
votes
1 answer
Why dropping columns after joining two temp views in pyspark isn't working, which however works with data frame joins?
I need to create tempViews out of dataframes, then i need to join these tempviews and drop the duplicate columns. So I've written the code as mentioned below:
Data1 = [ ("xx1",34,60),
("xx2",33,80),
("xx3",37,50)…

kuldeep mishra
- 154
- 2
- 11
0
votes
0 answers
Fullcalendar v5 - Drag and Drop an external event return current date and note the date where the element is dropped
i used fullcalendar v5 with external events that i can dropped on the calendar.
I have an issue and i don't understand what i'm doing wrong...
When i drag and drop an event, the drop function(info, date) return the curent date and not the date where…

Flucktuken
- 29
- 5
0
votes
2 answers
How to drop a website in Odoo with Postgres?
My database of Odoo have multiple websites. I need to delete one of this website with postgres.
Can I do this :
DROP the_name_of_the_website IF EXISTS

Dalila Hannouche
- 29
- 11
0
votes
1 answer
Drop default constraint which has an illegal name?
I have several default constraints which now have illegal names due to a name-normalization script error (apparently sp_rename does a poor job of validating the newname parameter).
Some columns have actual default names in the…

Peter Wilson
- 89
- 6
0
votes
1 answer
Selecting variables with different values in one column
I have a dataframe which looks simmilar to this one:
Shop Person Region
Shop1 A North
Shop2 B South
Shop3 C East
Shop4 A West
Shop5 A West
What I want from my code is to check if there is a person, whose…

Natasza
- 1
0
votes
0 answers
Typescript: get the ID of the 'parent' after a drop event
I am using DevExpress and Angular 10. I would like to drag a person into an appointment. It works if I drag it beneath the tags. If I drag an item into to appointment but on the p html tags, I don't know how to get the ID of the appointment.
the…

Sarah De Cock
- 87
- 1
- 2
- 10