Posts by Ricardo Diz • 87 points
5 posts
-
1
votes0
answers20
viewsQ: How to create a button in a Fragment for android?
I created a button that aims to Random an image. However, the button and image are not appearing on android. The code I’m using is as follows:: ImageView imageView; Random r; Integer[] images = {…
-
-1
votes1
answer29
viewsQ: How to add multiple column content
Based on csv year columns, Month, day, hour, minute how to add to a single column? df['date'] = pd.to_datetime(
-
0
votes2
answers587
viewsA: Convert number to hours in python
I did as follows for situations where the input number is for example 5 x_fill = str(x).zfill(4) result = str(x_fill)[:2]+':'+str(x_fill)[2:]
-
-1
votes2
answers587
viewsQ: Convert number to hours in python
How to convert a 1234 number representing houras to a string with time format e.g. 12:34 in python?
-
8
votes1
answer1603
viewsQ: Format percentage in python
How should I format the percentage for this example? import pandas as pd flights = pd.read_csv('data/flights_until_june.csv', sep=',') sum_null = flights.isnull().sum()…