Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Obtain Geometric Information and name from a map-design website
Post: Obtain Geometric Information and name from a map-d...

There is a map-design website and this web-site's information was taken as snapshot by the 'web.archive.org'. Almost all information that I need can be read in this snapshot, though. The website is "h...
fyec General Coding Help 2 2,371 Aug-07-2018, 08:31 PM
    Thread: Using pandas, index error
Post: Using pandas, index error

I am trying to round numbers, if their decimal numbers end with (125, 375, 625, 875), I replace them with (25, 25, 75, 75). My code is: import pandas as pd inpExcelFile = 'Lat Lon Coordinates and ...
fyec Data Science 1 4,631 Aug-01-2018, 07:04 AM
    Thread: 'For' command and filling excel table with pandas by doing web-scrabbing
Post: 'For' command and filling excel table with pandas ...

With selenium library, I can open and read some information from a website, but while transferring these data read to an excel table, I can't fill all table with 'for command' because at the end of 'f...
fyec Web Scraping & Web Development 1 2,395 Jul-28-2018, 08:22 AM
    Thread: Selenium xpath finding gif to click
Post: Selenium xpath finding gif to click

I am having trouble with clicking all buttons that are defined as animation format (.gif) in a website. I use 'xpath' in selenium to find these buttons with their ids but the script doesn't continue a...
fyec Web Scraping & Web Development 1 3,734 Jul-27-2018, 03:53 PM
    Thread: Download all secret links from a map design website
Post: Download all secret links from a map design websit...

There is a website which shows links on a map (map layer currently can't be shown but links can be shown as points). To view this website, this must be followed: (Pictures 1-2-3-4 also show the way) ...
fyec Web Scraping & Web Development 0 2,799 Jul-24-2018, 09:08 PM
    Thread: Download entire web pages and save them as html file with urllib.request
Post: Download entire web pages and save them as html fi...

I can save multiple web pages with using these codes; however, I cant see a proper website view after saving them as html. For example, the texts in table are slipped and images can't be seen. I need ...
fyec General Coding Help 2 14,515 Jul-13-2018, 07:34 AM
    Thread: too many values to unpack error
Post: too many values to unpack error

I am trying to solve 'too many values to unpack' error. This code tries to print month name according to leap years and numbers of ends of the months. How can I solve this error? import calendar year...
fyec General Coding Help 1 8,016 Jun-27-2018, 11:02 PM
    Thread: Plotting climate data with NetCdf files for a specific region with coordinates
Post: RE: Plotting climate data with NetCdf files for a ...

(Jun-27-2018, 02:03 AM)Maverick494 Wrote: I suspect it is due to the space in the file name; try removing the space or adding an _ or changing to \\ in the path instead of /I removed that space but ...
fyec Data Science 3 5,320 Jun-27-2018, 02:30 AM
    Thread: Plotting climate data with NetCdf files for a specific region with coordinates
Post: Plotting climate data with NetCdf files for a spec...

I can plot temperature distribution figures with global NetCdf files with these codes. import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap ...
fyec Data Science 3 5,320 Jun-26-2018, 09:20 PM
    Thread: Plotting distribution of a variable on the map with a shape file
Post: Plotting distribution of a variable on the map wit...

I have a shape file of the region and values of the monthly mean temperatures of the locations over the years. I want to plot monthly temperature distribution on the map according to each location's ...
fyec General Coding Help 0 2,006 Jun-22-2018, 09:43 PM
    Thread: Create a monthly mean column in multiple years
Post: Create a monthly mean column in multiple years

I have a 'dates' column and a 'tmax' (temperature values) column. I want to create one another column that shows each month's average in each year. I tried df['date']=pd.date_range(start='1/01/198...
fyec General Coding Help 1 3,944 Jun-20-2018, 10:09 PM
    Thread: Multiply entire column with a constant with pandas in python
Post: Multiply entire column with a constant with pandas...

I want to multiply '1' column which is numbered automatically as (0,1,2,3). I am getting "KeyError: 1". What's wrong in my codes? inpExcelFile = 'data_' + gridCells[str(i+1)][j].replace(', ', '_...
fyec Data Science 1 33,585 Jun-17-2018, 01:53 AM
    Thread: Converting units in NetCdf Files in Python
Post: Converting units in NetCdf Files in Python

I have a script that reads Netcdf (.nc) files and coordinates from a 'csv' file, then it extracts a txt file that includes values of different parameters (Tmax, Tmin, Prcp and Wind Speed) in columns a...
fyec General Coding Help 1 4,066 Jun-16-2018, 10:04 PM
    Thread: Putting many coordinates number inside codes
Post: Putting many coordinates number inside codes

Hi everyone, I have a coordinate list. This ranges from (0,0) to (10,10). Each x and y coordinate increases by 1, this is like (0,0) (0,1) (0,2) (0,3) ... (0,10) (1,0) (1,1) (1,2) (1,3) ... (1,10) . ...
fyec General Coding Help 1 2,160 Jun-06-2018, 11:37 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020