Skip to content

docs example code issue #6

@salah93

Description

@salah93

This code is found in the docs

from pandas import DataFrame
target_path = join(target_folder, 'memory.csv')
memory_table = DataFrame([
    ('Todos Santos', 15.50437, -91.603653),
    ('Semuc Champey', 15.783471, -90.230759),
], columns=['Description', 'Latitude', 'Longitude'])
map_table.to_csv(target_path, index=False)

should be

from pandas import DataFrame
from os.path import join

target_path = join(target_folder, 'memory.csv')
memory_table = DataFrame([
                            ('Todos Santos', 15.50437, -  91.603653),
                            ('Semuc Champey', 15.783471,   -90.230759),
                           ], columns=['Description', 'L  atitude', 'Longitude'])
memory_table.to_csv(target_path, index=False)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions