Posts by Luana • 59 points
5 posts
-
0
votes1
answer107
viewsQ: Installation geopy python 2.7
I have python 2.7.12 installed on my computer (Ubuntu 16.04) and installed geopy (1.11). However when I try to run my script, this error appears: from geopy.distance import lonlat, distance…
python-2.7asked Luana 59 -
1
votes1
answer428
viewsQ: Find common values in two different dataframes
Editing the question: I have two Dataframes of different sizes, it’s them: df1 = pd.DataFrame({'bc': bc_1}, index=altura_1) df1.shape()=(73,1) >>> print df1 bc 1.175441 0.002884 1.115565…
python-2.7asked Luana 59 -
1
votes1
answer895
viewsQ: Convert fraction of hour to hh:mm:ss
My hourly data set is stored in the time = [0 variable. , 0.08333333, 0.16666667, 0.25, 0.333333, 0.41666667, 0.5 , 0.58333333, 0.666667, 0.75, 0.83333333, 0.91666667, 1. , 08333333, 1.16666667] Can…
-
0
votes1
answer123
viewsQ: Cron job that runs a bash script (which runs a python script) behaving differently than when executed manually
Hello.. I have a python script that plots two different graphs and that needs to be run daily to update these graphs on a website The data that is used by this script, is in a certain directory in…
-
3
votes1
answer1092
viewsQ: Automate a script . sh
I have a Shell Script (.sh) and need to automate it. Could someone help me?? This script copies data from a folder and pastes (converting to another format) into another directory, runs a Python…