Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Помощь в решении задач в Python


  1. 86    8  3   1
    1 day5 USD

    Есть два года опыта программирования на Python и в разработке ПО! Год опыта работы в области машинного обучения и нейронных сетей.

  2. 1442    16  0
    1 day5 USD

    Здравствуйте, опыт разработки на питоне 3 года, занимался всем перечисленным. С радостью помогу.

  3. 58  
    1 day5 USD

    Доброго дня!
    По завданнях бачу що ви навчаєтеся в Шагу!
    Можу допомогти із завданнями.

  4. 10178    183  2   1
    10 days9 USD

    Добрый день!
    Готовпомочь с каждым таском, минимальная помощь за код/проект - 100 грн.

    В Python 3+ лет!
    Пигите в лс

  5. 30  
    1 day11 USD

    Здраствуйте, готов выполнить. Пишите - обсудим детали проекта.

  6. Another 3 proposals concealed
  • Profile deleted
    9 October 2020, 23:25 |
    deleted by moderator
  • Aleksandr Karasev
    9 October 2020, 23:31 |

    Задание 1

    Выполните парсинг сайта Marvel.

    Соберите следующую информацию о героях Marvel:

    name,

    link,

    universe,

    other aliases,

    education,

    place of origin,

    identity,

    known relatives.

    Создайте dataset и сохраните его в CSV-файл методами

    Python.


    Задание 2

    В описании некоторых персонажей содержатся следующие

    характеристики:

    durability,

    energy,

    fighting skills,

    intelligence,

    speed,

    strength.

    Выполните парсинг страниц и создайте dataset, в котором

    для каждого персонажа будут указаны его показатели


    п.с. есть набранный код, но не работает...

  • Profile deleted
    9 October 2020, 23:41 |

    Пришли код, с парсингом хоть сейчас помогу,а там дальше определимся

  • Aleksandr Karasev
    9 October 2020, 23:45 |
    from bs4 import BeautifulSoup
    import requests
    import pandas
    import glob
    from collections import OrderedDict
    
    pages_csv = 'characters_pages.csv'
    characters_csv = 'characters_dataset.csv'
    
    
    def get_all_links():
        page = requests.get('https://www.marvel.com/characters')
        soup = BeautifulSoup(page.content, 'html.parser')
    
        pages = []
        mvl_cards = soup.find('div', {'class': 'full-content'}).find_all('div', {'class': 'mvl-card mvl-card--explore'})
        for i in range(len(mvl_cards)-1):
            link = mvl_cards[i]
            page = link.find('a')
            print(i, page['href'], page.text)
            pages.append(page['href'])
    
        df = pandas.DataFrame({'Link': pages})
        write_csv_file(df, pages_csv)
    
    
    def create_characters_df():
        base_url = 'https://www.marvel.com'
        pages = pandas.read_csv(pages_csv)
        links = pages['Link']
        marvel_list = []
        columns = []
    
        for link in links:
            marvel_characters = OrderedDict()
            request = requests.get(base_url + str(link))
    
            content = request.content
            soup = BeautifulSoup(content, 'html.parser')
    
            marvel_characters['Name'] = soup.find("h1").text.replace("\n", "").strip()
            marvel_characters['Link'] = link
            print(soup.find('h1').text.replace("\n", "").strip(), base_url + str(link))
    
            label = soup.findAll('p', {'class': 'bioheader__label'})
            stat = soup.findAll('p', {'class': 'bioheader__stat'})
    
            for i in range(len(label)):
                column = label[i].text.title()
                if column not in columns:
                    columns.append(column)
                try:
                    marvel_characters[column] = stat[i].text.replace('\n', '').strip()
                except:
                    marvel_characters[column] = ''
    
            marvel_list.append(marvel_characters)
        df = pandas.DataFrame(marvel_list)
        write_csv_file(df, characters_csv)
    
    
    def write_csv_file(df, name):
        df.to_csv(name, index=False)
        print('Success \n')
    
    
    def read_csv_file(name):
        df = pandas.read_csv(name)
        return df
    
    
    def main():
        files = glob.glob('*.csv')
    
        if characters_csv not in files:
            if pages_csv not in files:
                print('Create characters_pages.csv')
                get_all_links()
            print('Create characters_dataset.csv')
            create_characters_df()
    
        df = read_csv_file(characters_csv)
        df = df.fillna('')
        print('Columns: ', df.columns.values)
        print(df[['Link', 'Eyes']])
    
    
    if __name__ == '__main__':
        main()
  • Profile deleted
    10 October 2020, 0:29 |

    при запросе через requests блок с карточками героев просто отсутствует, он потом подгружается скриптом, это другие инструменты надо использовать

  • Profile deleted
    9 October 2020, 23:28 |

    Гидра исходники гитхаб

Current freelance projects in the category Python

Creation of a Human AI Assistant for Telegram groups

### 1.1. Key Concept of the System The system must perform two main functions: #### 1. Client Communication Analysis The AI assistant must automatically analyze all communication in Telegram groups and understand the context of the conversation. In particular, the system…

AI & Machine LearningPython ∙ 1 hour 35 minutes back ∙ 14 proposals

Black Ukraine (RP-project on base MTA)

1162 USD

Fixing bugs of varying complexity, like those pictured. Map navigation adjustments. Fixing map holes, adapting vehicles to the project, removing logos, or rewriting them.

C & C++Python ∙ 1 hour 56 minutes back ∙ 4 proposals

Betting needs to create a bookmaker! WITH EXPERIENCE

It is necessary to develop a betting platform / bookmaker product based on a ready-made template. The main task is to adapt the template for a full-fledged bookmaker office: connect parsing of sports events and odds, implement a user personal account, balance, bets, transaction…

PythonWeb Programming ∙ 2 hours 12 minutes back ∙ 16 proposals

Telegram automation of message distribution in chats

Need to send messages to Telegram chats. To avoid bans. There are several hundred chats. To configure the frequency and variability of texts.

PythonBot Development ∙ 2 hours 23 minutes back ∙ 18 proposals

Development of software with AI

It is necessary to develop software for automatic detection, capturing, and tracking of an object using a video camera and a rotating mechanism.Output data: Video camera with optics. Rotating device on two axes (azimuth/elevation angle). Servomotors controlled via Modbus…

AI & Machine LearningPython ∙ 1 day 9 hours back ∙ 16 proposals

Client
Aleksandr Karasev
Ukraine Kamenskoye  4  0
Project published
5 years back
197 views