Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: change dataframe header with 2 rows
Post: RE: change dataframe header with 2 rows

(Oct-28-2020, 05:32 PM)Askic Wrote: (Oct-28-2020, 10:22 AM)tonycat Wrote: Hello, I am new to programming, have some questions , thanks ! **biggrin** I download stock quote from yahoo and return ...
tonycat Data Science 2 1,992 Oct-29-2020, 01:41 AM
    Thread: change dataframe header with 2 rows
Post: change dataframe header with 2 rows

Hello, I am new to programming, have some questions , thanks ! **biggrin** I download stock quote from yahoo and return two dataframes, by 2 methods data1 = yf.download('msft ibm v',start ='2020-10...
tonycat Data Science 2 1,992 Oct-28-2020, 10:22 AM
    Thread: Tkinter menu font size -method to change
Post: RE: Tkinter menu font size -method to change

(Oct-10-2020, 06:30 PM)Maryan Wrote: ex. self.file.add_command = (font = 'Helvetica 12 bold') Thanks ! I change it to class , it works for the level of submenu, fonts.. but the parent menu object (...
tonycat GUI 2 7,835 Oct-11-2020, 02:43 AM
    Thread: Tkinter menu font size -method to change
Post: Tkinter menu font size -method to change

Hello,         How can I change the Tkinter menu font size, I can change the font size of other components , except menu **huh** **huh** **huh**     import tkinter as tk from tkinter import ttk from ...
tonycat GUI 2 7,835 Oct-10-2020, 10:58 AM
    Thread: convert list to five columns dataframe in sequence
Post: RE: convert list to five columns dataframe in sequ...

thank **biggrin** **biggrin** **biggrin**
tonycat General Coding Help 2 2,476 Sep-29-2020, 06:47 AM
    Thread: convert list to five columns dataframe in sequence
Post: convert list to five columns dataframe in sequence

I am new to programming and python, need help to convert the list to five columns Dataframe , but keep the sequences **huh** **huh** small sample from my list: list_of_cats = ["cat1","cat2","blue...
tonycat General Coding Help 2 2,476 Sep-29-2020, 06:09 AM
    Thread: create loop of subplot plotly dash without hardcode
Post: create loop of subplot plotly dash without hardcod...

How can I make dash/plotly subplot, without repeating the subplot code ? like : stock_list = [ "MA","V","MSFT","AMZN","AAPL","TSLA"] drawchart(stocklist)..loop run dash.... I have made the ...
tonycat General Coding Help 0 3,908 Sep-23-2020, 08:40 AM
    Thread: extract tabe from nested dictionary, find generic approach,clever way
Post: RE: extract tabe from nested dictionary, find gene...

Thanks, I tried your code, very fast and robust. And It is very easy to modify, or change to more generic, thank a lot! **clap** **clap** **clap**
tonycat Data Science 4 2,748 Aug-31-2020, 09:22 AM
    Thread: extract tabe from nested dictionary, find generic approach,clever way
Post: RE: extract tabe from nested dictionary, find gene...

Thank, I just focus on the json, and find solution cat1 = pd.DataFrame(dict([(k,pd.Series(v)) for k,v in cat['result'].items()])) pd.json_normalize(json.loads(cat1.to_json(orient="records")))take...
tonycat Data Science 4 2,748 Aug-31-2020, 06:43 AM
    Thread: extract tabe from nested dictionary, find generic approach,clever way
Post: extract tabe from nested dictionary, find generic ...

Hi, I extract information from dictionary, step by steps, in stupid way... can anyone provide clever way, or generic way to solve the problem. or flatten the dictionary. I need to extract informatio...
tonycat Data Science 4 2,748 Aug-27-2020, 03:33 AM

User Panel Messages

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