Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Only show every nth tick in chart
Post: Only show every nth tick in chart

Hi guys, I've plotted a chart using the following basic setup: df.plot()However, I only want to have a difference of 300 ticks between the entries on the x-axis, ie. df.plot(xticks=(0,300,600,900...
tgottsc1 General Coding Help 1 4,659 Feb-01-2021, 01:28 PM
    Thread: Pandas dataframe without index
Post: Pandas dataframe without index

Hi guys, I have a basic question about dataframes. However, my Google search has not yielded the desired results so far. I have data stored in a pandas.core.frame.DataFrame called data_stocks. When ...
tgottsc1 General Coding Help 3 42,495 Feb-01-2021, 08:53 AM
    Thread: Convert table in pandas
Post: RE: Convert table in pandas

Many thanks buran, that's very helpful to know! Best, Tim
tgottsc1 General Coding Help 2 1,983 Jan-26-2021, 01:58 PM
    Thread: Convert table in pandas
Post: Convert table in pandas

Hi guys, I have a very basic question about how to convert the design of a table. I would highly appreciate if someone could please help me. I have created the following table as a pandas datafram...
tgottsc1 General Coding Help 2 1,983 Jan-26-2021, 10:59 AM
    Thread: Calculate column with cumulative return
Post: Calculate column with cumulative return

Hello, I have a very basic question and would appreciate any help. I have a column with percentage changes on a daily basis for the last 100 days. Now I'd like to calculate a new column that shows ...
tgottsc1 General Coding Help 1 1,855 Jan-25-2021, 11:50 AM
    Thread: Selecting rows that contain certain values using two alternatives
Post: Selecting rows that contain certain values using t...

Hi guys, I have a dataset and the following code: a = dataset.set_index('c', append=True).sort_index()This generates a table with 3 indices (a, b and c) and one column containing values. The colu...
tgottsc1 General Coding Help 1 1,582 Jan-18-2021, 12:49 PM
    Thread: Extracting data without showing dtype, name etc.
Post: RE: Extracting data without showing dtype, name et...

Hi Buran, great, many thanks for this - now it works perfectly!
tgottsc1 General Coding Help 3 4,381 Jan-10-2021, 01:48 PM
    Thread: Extracting data without showing dtype, name etc.
Post: Extracting data without showing dtype, name etc.

Hello, I have a basic question and would be happy if someone could help me out. I've extracted the prices of 2 stocks (Varta and Softcat) from a website using the following code: import pandas as...
tgottsc1 General Coding Help 3 4,381 Jan-10-2021, 11:14 AM
    Thread: Data extraction from a table based on column and row names
Post: Data extraction from a table based on column and r...

Hello, I have a basic question regarding the extraction of data from a table. Google did not bring up the desired result, so I would be happy if someone could help me further. I use the following c...
tgottsc1 General Coding Help 1 2,405 Jan-09-2021, 09:25 PM
    Thread: Extracting data from a website
Post: RE: Extracting data from a website

(Jan-08-2021, 11:14 PM)snippsat Wrote: Something like this. import pandas as pd url = 'https://www.ariva.de/varta-aktie/kurs' df = pd.read_html(url) # Get right table from html df = df[3]>>&g...
tgottsc1 General Coding Help 2 2,264 Jan-09-2021, 08:14 PM
    Thread: Extracting data from a website
Post: Extracting data from a website

Hello, I have a very basic problem and would be happy if someone could help me out. I would like to extract price data of a stock from a website. So far I have used the following code to retrieve ...
tgottsc1 General Coding Help 2 2,264 Jan-08-2021, 09:31 PM

User Panel Messages

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