Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: UnUnloading values from multiple widgets in a container
Post: RE: UnUnloading values from multiple widgets in a ...

micseydel, Thank you for your response. The only import that needs to be used for being able to run this is as follows: import ipywidgets as widgets from ipywidgets import VBox style = ...
UGuntupalli General Coding Help 3 2,695 Apr-20-2020, 08:53 PM
    Thread: UnUnloading values from multiple widgets in a container
Post: RE: UnUnloading values from multiple widgets in a ...

Bumping for a response
UGuntupalli General Coding Help 3 2,695 Apr-17-2020, 08:30 PM
    Thread: Assigning data read from CSV to class
Post: RE: Assigning data read from CSV to class

@faruk61, Your question is way too generic, do you have a class which you want to use to read the csv ? Why do you want to use classes in the first place ? import pandas as pd df = pd.read...
UGuntupalli General Coding Help 2 2,076 Apr-15-2020, 02:24 PM
    Thread: Add column to CSV using Pandas
Post: RE: Add column to CSV using Pandas

@nsadams87xx, First suggestion is to follow Larz60+ advice and reformat your question. As for your original problem, a very easy way to fix that would be: Use Pandas to read the original csv i...
UGuntupalli Data Science 2 2,754 Apr-15-2020, 04:40 AM
    Thread: finding a mismatched triple-quote in a huge module
Post: RE: finding a mismatched triple-quote in a huge mo...

@Skaperen, The easiest way that I can think of is by using Pycharm IDE. (https://www.jetbrains.com/pycharm/). Just open your code in Pycharm, then Code > Reformat (or) Select all of you...
UGuntupalli News and Discussions 1 1,535 Apr-15-2020, 04:29 AM
    Thread: UnUnloading values from multiple widgets in a container
Post: UnUnloading values from multiple widgets in a cont...

All, I just started using ipywidgets and I am trying to find the ropes, so if this question has been answered previously or the documentation covers it in some way, kindly point me to that section. Es...
UGuntupalli General Coding Help 3 2,695 Apr-15-2020, 04:25 AM
    Thread: Help with initial conditions
Post: RE: Help with initial conditions

Could you probably share your code snippet and explain what you are facing trouble with ? Since you are discussing a physics problem, it might be hard for people to actually relate to what you are try...
UGuntupalli General Coding Help 1 1,322 Oct-18-2019, 07:22 PM
    Thread: How to pivot a dat
Post: How to pivot a dat

All, I would like to pivot a data frame similar to the following SQL operation. Any help/guidance is appreciated: # SQL Code - https://www.sqlshack.com/static-and-dynamic-sql-pivot-and-unpivot-re...
UGuntupalli General Coding Help 0 1,855 Oct-17-2019, 11:13 PM
    Thread: Python Package for deploying python code in Excel on machines without python
Post: RE: Python Package for deploying python code in Ex...

Doesn't this still require a user to have python installed to use the application after development ? What I was trying to ask was: I would like to develop a stand-alone application in Excel usin...
UGuntupalli Data Science 2 6,860 Jul-31-2019, 04:05 AM
    Thread: Design Pattern for accessing subclass attributes
Post: RE: Design Pattern for accessing subclass attribut...

I should elaborate a little further. Apologies. mfg.year is just one attribute that I tried to demonstrate my problem with. Imagine if there were many such pieces of information, for e.g: 1. Whic...
UGuntupalli General Coding Help 2 2,049 Jul-30-2019, 11:09 PM
    Thread: Design Pattern for accessing subclass attributes
Post: Design Pattern for accessing subclass attributes

All, I am looking for guidance on what would be good design pattern to use / implement given a particular problem. Problem Statement: Let us say we would like to define a class that define...
UGuntupalli General Coding Help 2 2,049 Jul-30-2019, 10:27 PM
    Thread: class constructor with dataframe
Post: RE: class constructor with dataframe

@SheeppOSU, Yes
UGuntupalli General Coding Help 2 2,275 Jun-11-2019, 10:50 PM
    Thread: class constructor with dataframe
Post: class constructor with dataframe

All, I have a very simple example of a class definition. Can someone kindly provide an example of how I can instantiate multiple objects at once by passing the constructor a data frame ? clas...
UGuntupalli General Coding Help 2 2,275 Jun-11-2019, 05:35 PM
    Thread: Excel and Python
Post: RE: Excel and Python

Hello robsmith , Yes . Python can be used to read and perform a variety of functionality with excel files and csv files. This could be a decent page to start at . The page illustrates read...
UGuntupalli Data Science 5 63,878 Feb-07-2017, 02:24 PM
    Thread: Python Package for deploying python code in Excel on machines without python
Post: Python Package for deploying python code in Excel ...

All,      Which free python package can be used to deploy Python code into Excel ? I am using Anaconda and based on my research here is what I have so far :  https://docs.continuum.io/anaconda/excel ...
UGuntupalli Data Science 2 6,860 Feb-02-2017, 01:33 PM
    Thread: Read CSV Files with multiple headers into Python DataFrame
Post: RE: Read CSV Files with multiple headers into Pyth...

@ All ,       Thanks for all the help so far. I tested the snippets that have been provided to me and they all work on normal files. So, the approach is correct . The issue seems to be with my file . ...
UGuntupalli Data Science 12 26,578 Jan-26-2017, 03:07 PM
    Thread: Read CSV Files with multiple headers into Python DataFrame
Post: RE: Read CSV Files with multiple headers into Pyth...

@ Buran,              I got one question - that is the only thing I am doing differently . How is it that all sample snippets show the file input as :   DF = pd.read_csv('myfile.csv' , skiprows = 2) ...
UGuntupalli Data Science 12 26,578 Jan-24-2017, 02:33 PM
    Thread: Read CSV Files with multiple headers into Python DataFrame
Post: RE: Read CSV Files with multiple headers into Pyth...

@ Buran : https://dl.dropboxusercontent.com/u/32778128/Test.csv Please let me know if you can access this .
UGuntupalli Data Science 12 26,578 Jan-24-2017, 01:58 AM
    Thread: Read CSV Files with multiple headers into Python DataFrame
Post: RE: Read CSV Files with multiple headers into Pyth...

I dont see a way to attach a file . Is there a way ? Apologies I am new to the forum
UGuntupalli Data Science 12 26,578 Jan-23-2017, 05:23 PM
    Thread: Read CSV Files with multiple headers into Python DataFrame
Post: RE: Read CSV Files with multiple headers into Pyth...

@ Buran ,                I have already tried this method , both using the skip rows and without the skip rows flag without any useful result.  Without skip rows flag :  DF = pd.read_csv(FilePath)  ...
UGuntupalli Data Science 12 26,578 Jan-23-2017, 04:27 PM

User Panel Messages

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