Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Image : center and resizing
Post: Image : center and resizing

Hi All, i am trying to resizing the handwritten letter to 30x30 pixel using python. In mspaint , i draw a letter "A" and try to resize the letter using the below code and it works. I want to center...
vvv General Coding Help 1 12,051 May-13-2017, 06:52 PM
    Thread: pandas : insert new column
Post: RE: pandas : insert new column

Thanks Zivoni. I used the concat and fix my index . It worked.
vvv Data Science 2 14,003 Mar-19-2017, 04:49 PM
    Thread: pandas : insert new column
Post: pandas : insert new column

Hi All, I am trying to create an empty dataframe 'a' and insert slices of raw data from 'df' in to columns in 'a'. I can insert a one new columns and other columns get NULL value l=[0,1,2,3,4,5,6,7,8...
vvv Data Science 2 14,003 Mar-18-2017, 07:59 PM
    Thread: plotting histogram
Post: plotting histogram

Hi All, I count the number of grades appeared in the dataset and trying to plot it as histogram. it works ,but couldn't get the grade name as x-axis. data on the count dataframe looks like  Vermin ...
vvv Data Science 1 3,290 Mar-10-2017, 10:01 PM
    Thread: Importing file in dataframe and populating missing column name
Post: Importing file in dataframe and populating missin...

Hi All, I am trying to import a survey data on hotel industry . First 2 columns have name and rest of the column doesn't have .I need to populate year_monthNo from column 3. source AS is H01: D875 ...
vvv General Coding Help 1 3,457 Feb-26-2017, 10:21 AM
    Thread: simulating sum function on LIST
Post: RE: simulating sum function on LIST

Thanks Skaperen..It worked.. **biggrin** #final code def sum2(data):     a=0     for i in data:         a=a+i     return a
vvv General Coding Help 2 3,380 Feb-25-2017, 06:57 AM
    Thread: simulating sum function on LIST
Post: simulating sum function on LIST

Hi All, I am a newbie to python. Trying to simulate the sum function to add all the values in a LIST #list  orig= [1,2,3,4,5] #function def sum2(data):     a=0     for i in data:         a=a+i      ...
vvv General Coding Help 2 3,380 Feb-25-2017, 06:41 AM

User Panel Messages

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