Posts by Lucas Santana • 101 points
8 posts
-
1
votes7
answers19300
viewsA: Increasing modal size using bootstrap and html
Try changing the width of content in CSS. #conteudoModal { width: 100%; }
-
0
votes1
answer28
viewsA: Leave the sidebar fixed after opening
The solution would be to add the class via jQuery. $("#sidebar-wrapper").click(function() { $(this).addClass("fixed"); }); And in CSS add a class with position Fixed. fixed { position:fixed; }…
-
1
votes1
answer1838
viewsA: Division between column values and rows using pandas
df_1 = pd.DataFrame(np.random.randint(0,28,size=(10, 4)), columns=list('ABCD')) df_2 = pd.DataFrame(np.random.randint(0,28,size=(4, 1)), columns=list('A')) df_3 = pd.DataFrame(np.zeros((…
-
3
votes1
answer1465
viewsA: Python/Pandas - How to compare if column content of the data frame, in date format, is equal to another date column about 1 day?
Hello, just a hint, to write code use the Stackoverflow tool itself for this. It is in the icon {} text editor. To do this, you can use the method pd.to_datetime().day and ask for the day directly.…
-
2
votes1
answer1473
viewsA: Manipulation of columns with pandas
So the first thing is about creating the Dummies. Whenever you create the Dummies, you drop a column of them. If there are any n categories must exist n-1 columns of Dummies. This is what is called…
-
0
votes2
answers93
viewsA: Wordpress and Google Analytics: how to avoid administrative area count?
Most likely the plugin you use already has this option. I use Yoast SEO, considered one of the best on the market, and it already has this option to prevent count of administrators.
-
0
votes1
answer135
viewsA: Push a Collapse button through the menu
I’m not sure I understand the question, but I’ll try to answer. $(document).scroll(function () { var scroll = $(this).scrollTop(); $('conteudo-item1').each(function () { var offset =…
-
0
votes3
answers3149
viewsA: JSON does not return utf-8
Instead of UTF-8 tries to use the latin1. I don’t know why, but I had the same problem and solved it like this.