Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Suitable Data Modelling Packages
Post: Suitable Data Modelling Packages

Hello all I was wondering if anyone could help me regarding information / guidance on the best packages for data modelling. I work on the highway and we have lots of faults (cracks, pot holes etc) a...
JoeDainton123 Data Science 3 75,852 Jun-26-2021, 12:32 PM
    Thread: Best Fit In Python
Post: Best Fit In Python

Hi all I was wondering is anyone could give me some guidance on how to solve the following problem. I have list of numbers that represent temperature (shown on the picture in blue). After plotting ...
JoeDainton123 General Coding Help 2 1,565 Jun-24-2021, 07:49 PM
    Thread: This is an Object - Code interpretation
Post: This is an Object - Code interpretation

Hello all I am trying to gain a better understanding of object orientation programming. I cam across the following code:- import pandas as pd df = pd.read_csv("T.csv") print(df.head(2))This code ...
JoeDainton123 General Coding Help 2 1,753 Jun-16-2021, 06:50 PM
    Thread: Managing Objects
Post: Managing Objects

Hello all I was wondering if anyone could help shed some light on how to manage objects once they have been instantiated. I have a class that creates a person that takes various attributes and uses ...
JoeDainton123 General Coding Help 1 1,649 May-15-2021, 02:57 PM
    Thread: Listing All Methods Of Associated With A Class
Post: Listing All Methods Of Associated With A Class

Hello I wanted to ask whether it was possible to list all the methods associated with a Class for example:- I have created the following class:- class Human(): def __init__(self, sex, eye...
JoeDainton123 General Coding Help 3 2,279 May-09-2021, 04:42 PM
    Thread: Printing Object Names
Post: RE: Printing Object Names

(May-08-2021, 06:15 PM)JoeDainton123 Wrote: Hello all I am slowly moving ahead with my python journey. I wanted to ask the following regarding Object Oritentation. Question 1) I have created a c...
JoeDainton123 General Coding Help 5 2,670 May-09-2021, 03:30 PM
    Thread: Printing Object Names
Post: RE: Printing Object Names

(May-08-2021, 09:31 PM)deanhystad Wrote: The variable/value relationship is one way. Tom knows about the human object it references, but the object has no knowledge of Tom. If you want human to ha...
JoeDainton123 General Coding Help 5 2,670 May-09-2021, 03:25 PM
    Thread: Printing Object Names
Post: Printing Object Names

Hello all I am slowly moving ahead with my python journey. I wanted to ask the following regarding Object Oritentation. Question 1) I have created a class called human which when instantiated requ...
JoeDainton123 General Coding Help 5 2,670 May-08-2021, 06:15 PM
  Photo Thread: Setting Marker Edge Color In Plotting
Post: Setting Marker Edge Color In Plotting

Hello all I was hoping someone could help me fill in my gaps in my understanding regarding Python Plotting via matplotlib and the Python documentation. I am plotting some x&y data and customizin...
JoeDainton123 General Coding Help 0 2,635 Oct-26-2020, 10:48 PM
    Thread: Looping Through Large Data Sets
Post: RE: Looping Through Large Data Sets

(Oct-17-2020, 02:44 PM)buran Wrote: In your sample dataframe all values are strings, e.g. "218" vs 218. Both code yield the same result. Your right. Thank Buran I really appreciate your help.
JoeDainton123 General Coding Help 10 4,216 Oct-17-2020, 07:53 PM
    Thread: Looping Through Large Data Sets
Post: RE: Looping Through Large Data Sets

Hi Buran Thank you for your response. I think I understand, if no column names are specified in the dataframe then the values in the square brackets are the column index numbers. If column names ar...
JoeDainton123 General Coding Help 10 4,216 Oct-17-2020, 11:13 AM
    Thread: Looping Through Large Data Sets
Post: RE: Looping Through Large Data Sets

(Oct-03-2020, 04:06 AM)buran Wrote: can you provide sample dataframe (no need of 60 000 rows, just 2-3 rows is sufficient) Ideal would be to provide a code that creates a DataFrame with the same str...
JoeDainton123 General Coding Help 10 4,216 Oct-16-2020, 09:41 PM
    Thread: Implementing a Civil Engineering Project In Python
Post: Implementing a Civil Engineering Project In Python

Hi all I am Civil Engineering student who needs to undertake a project as part of my studies. I am also trying to learn Python and I am slowly getting to grips with the language (only started a few ...
JoeDainton123 News and Discussions 1 2,612 Oct-13-2020, 09:51 PM
    Thread: Complex X Tick Interval
Post: Complex X Tick Interval

Hi all I was hoping someone could help me solve an issue regarding setting the x tick interval for a plot. I have a very large data set, the x values are obtained from combining miles and yards colu...
JoeDainton123 General Coding Help 0 1,434 Oct-05-2020, 07:27 PM
    Thread: Grid Line not appearing at 0
Post: Grid Line not appearing at 0

Hello all I have a strange problem when making sub plots. I have 15 x sub plots in a figure, however all but 1 of the sub plots does not have a 0 on the Y axis as shown in the attachment. Not sure ...
JoeDainton123 General Coding Help 1 1,625 Oct-05-2020, 04:40 PM
    Thread: Creating Plots & Sharing X Axis
Post: RE: Creating Plots & Sharing X Axis

scidam Thanks.
JoeDainton123 General Coding Help 2 1,844 Oct-05-2020, 04:33 PM
    Thread: Image Processing in Python
Post: Image Processing in Python

Hello all I wanted to get the communities advice on a python project I am considering on embarking on. I have a PDF file that contains approx 50 pages each page containing a graph/plot. Along the t...
JoeDainton123 General Coding Help 1 15,626 Oct-04-2020, 10:05 PM
    Thread: Setting Tick Intervals In Sub Plots
Post: Setting Tick Intervals In Sub Plots

Hello all I was hoping someone could point me in the right direction regarding setting the intervals for the Y axis ticks. I have the following code:- axes[0].plot((df_raw_data.iloc[start_counter:en...
JoeDainton123 General Coding Help 1 1,747 Oct-03-2020, 09:20 PM
    Thread: Error When Plotting ValueError: x and y must have same first dimension
Post: Error When Plotting ValueError: x and y must have ...

Hi all I was hoping someone could help me. I am trying to create a series of plots from a large data set. But every plot has a different set of X & Y values. In the attachment I want to plot C...
JoeDainton123 General Coding Help 1 8,997 Oct-03-2020, 01:44 PM
    Thread: Creating Plots & Sharing X Axis
Post: Creating Plots & Sharing X Axis

Hello all I am trying to create a plot in matplotlib where I have 2 x data sets, Data Set 1 which has a list of XY co-ordinates (where the Y values are always positive) and Data Set 2 which has the s...
JoeDainton123 General Coding Help 2 1,844 Oct-02-2020, 10:10 PM

User Panel Messages

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