Posts by Nascin • 71 points
5 posts
-
0
votes1
answer122
viewsQ: Add a new column in a Dataframe after comparing data with another Dataframe?
I have a dataframe df_currency and need to insert new column based on comparison with another dataframe df_quotation. Below I have dataframe only with the names of coins:…
-
2
votes2
answers35
viewsQ: How to apply a ribbon to a dataframe based on the last characters of each label?
I need to apply a line filter to a dataframe based on the last characters of a label, if it contains BRL after the hyphen. Ex.: BTC-BRL. Can someone help me? Current data: Data after applying…
-
2
votes1
answer101
viewsQ: Rename folders by changing lowercase characters to uppercase and get the total number of folders changed
I’m creating a python script to rename folder names that are lowercase to uppercase. In the code example below I already get this task. import os basedir = '/content/drive/My Drive/Colab…
-
1
votes1
answer107
viewsQ: Replace data from one column by considering data from another in a Dataframe
I have a Dataframe with two columns B and C where the data has no relation, would like the highlighted data of the column C received the highlighted column data B, considering the same index. After…
-
1
votes2
answers50
viewsQ: Deleting lines with repeated Labels on a Dataframe
I need to delete in a dataframe lines that contain repeated labals, as highlighted in spine "B": Below is the result of how I would like it to stay after exclusion:…