There are several ways to open the Piano Roll Editor in Logic Pro.
Click the Piano Roll button at the bottom of the Arrange window (or use the Toggle Piano Roll key command, default assignment: P).
Choose Window > Piano Roll (or use the Open Piano Roll key command, default assignment: Command-6).
Drag the Piano Roll button, which changes to the Piano Roll Editor window as you drag it.